piston/packages/zig/0.7.1/compile

7 lines
194 B
Plaintext
Raw 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 ReleaseSmall --color off --cache-dir . --global-cache-dir . --name out *.zig