windows build fixes
This commit is contained in:
parent
3121af2ec4
commit
1d116f8fa8
15 changed files with 137 additions and 31 deletions
5
zig
5
zig
|
@ -47,10 +47,11 @@ get_zig() {
|
|||
get_zig
|
||||
|
||||
if [ "$1" == "cdb" ] ; then
|
||||
rm -rf zig-cache
|
||||
shift
|
||||
rm -rf .zig-cache
|
||||
rm -rf .cache/cdb
|
||||
|
||||
$ZIG build
|
||||
$ZIG build "$@"
|
||||
|
||||
(echo \[ ; cat .cache/cdb/* ; echo {}\]) | perl -0777 -pe 's/,\n\{\}//igs' | jq . | grep -v 'no-default-config' > compile_commands.json
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue