ci: fix generation of vc/v_win.c in gen_vc.yml
parent
e555335bf0
commit
a62560d2c1
|
@ -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