This commit is contained in:
Judah Caruso 2026-02-18 18:25:17 -07:00
parent 3760337e0b
commit d1a047b2a3

View file

@ -31,7 +31,7 @@ macflags := if os() == "macos" { "-x objective-c -lobjc -framework Foundation -f
csrc := "src/main.c" + " " + blocks_src
cinc := "-Isrc -Ithirdparty " + blocks_include
cflags := "-std=c23 -fblocks -fno-sanitize=address -fno-sanitize=undefined -g " + macflags + " " + cinc
cflags := "-std=c23 -fblocks -g " + macflags + " " + cinc
@ -54,7 +54,7 @@ vendor-zig:
[windows]
[private]
vendor-zig:
#!powershell.exe -NoProfile -ExecutionPolicy Bypass
#!powershell.exe
if (Test-Path "{{zig}}") { exit 0 }
Write-Host ":: Downloading Zig {{zig_version}} ({{host_os}}/{{host_arch}})..."
New-Item -ItemType Directory -Force -Path "{{thirdparty}}" | Out-Null
@ -75,7 +75,7 @@ vendor-blocks:
[windows]
[private]
vendor-blocks:
#!powershell.exe -NoProfile -ExecutionPolicy Bypass
#!powershell.exe
if (Test-Path "{{blocks_dir}}") { exit 0 }
Write-Host ":: Cloning libBlocksRuntime..."
git clone --depth 1 "{{blocks_repo}}" "{{blocks_dir}}"