piston/packages/zig/0.7.1/compile

7 lines
193 B
Plaintext
Raw Permalink Normal View History

2021-03-18 22:45:14 +01:00
#!/usr/bin/env bash
# optimizing for small programs
2021-04-24 10:08:42 +02:00
rename 's/$/\.zig/' "$@" # Add .zig extension
zig build-exe -O ReleaseSafe --color off --cache-dir . --global-cache-dir . --name out *.zig