piston/packages/zig/0.10.1/compile

6 lines
197 B
Plaintext
Raw Normal View History

2023-04-18 14:27:44 +02: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