piston/packages/zig/0.13.0/compile

7 lines
193 B
Plaintext
Raw Normal View History

2024-11-08 21:13:51 +01:00
#!/usr/bin/env bash
# optimizing for small programs
rename 's/$/\.zig/' "$@" # Add .zig extension
zig build-exe -O ReleaseSafe --color off --cache-dir . --global-cache-dir . --name out *.zig