diff options
| author | xander <xander@biltopia.org> | 2025-12-09 00:09:58 +0100 |
|---|---|---|
| committer | xander <xander@biltopia.org> | 2025-12-09 00:09:58 +0100 |
| commit | 54f52070893fa0e4baaa0d775e0216566f496652 (patch) | |
| tree | b7fa544f1227925bc09b0678a60a4e923f826f97 /prepare.sh | |
| parent | 2de1dc926bbcbab2b2bbc6ef739d0236881170ac (diff) | |
| download | aoc2025-main.tar.xz aoc2025-main.zip | |
Diffstat (limited to 'prepare.sh')
| -rwxr-xr-x | prepare.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/prepare.sh b/prepare.sh new file mode 100755 index 0000000..fc35462 --- /dev/null +++ b/prepare.sh @@ -0,0 +1,11 @@ +#!/bin/sh +set -e +if [ -z "$(command -v zig)" ]; then + echo "Install zig v0.15.2" + exit 1 +fi +if [[ "$(zig version)" != "0.15.2" ]]; then + echo "Zig version is not 0.15.2. Let's hope this compiles." +fi +zig build -Doptimize=ReleaseFast +echo "Success" |
