mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix generation of vc/v_win.c in gen_vc.yml
This commit is contained in:
parent
e555335bf0
commit
a62560d2c1
2
.github/workflows/gen_vc.yml
vendored
2
.github/workflows/gen_vc.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
rm -rf vc/v.c vc/v_win.c
|
rm -rf vc/v.c vc/v_win.c
|
||||||
|
|
||||||
./v -o vc/v.c -os cross cmd/v
|
./v -o vc/v.c -os cross cmd/v
|
||||||
./v -o vc/v_win.c -os windows cmd/v
|
./v -o vc/v_win.c -os windows -cc msvc cmd/v
|
||||||
|
|
||||||
sed -i "1s/^/#define V_COMMIT_HASH \"$COMMIT_HASH\"\n/" vc/v.c
|
sed -i "1s/^/#define V_COMMIT_HASH \"$COMMIT_HASH\"\n/" vc/v.c
|
||||||
sed -i "1s/^/#define V_COMMIT_HASH \"$COMMIT_HASH\"\n/" vc/v_win.c
|
sed -i "1s/^/#define V_COMMIT_HASH \"$COMMIT_HASH\"\n/" vc/v_win.c
|
||||||
|
Loading…
Reference in New Issue
Block a user