piston/packages/zig/0.8.0/compile

7 lines
193 B
Plaintext
Raw Permalink Normal View History

#!/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