summaryrefslogtreecommitdiff
path: root/prepare.sh
diff options
context:
space:
mode:
authorxander <xander@biltopia.org>2025-12-09 00:09:58 +0100
committerxander <xander@biltopia.org>2025-12-09 00:09:58 +0100
commit54f52070893fa0e4baaa0d775e0216566f496652 (patch)
treeb7fa544f1227925bc09b0678a60a4e923f826f97 /prepare.sh
parent2de1dc926bbcbab2b2bbc6ef739d0236881170ac (diff)
downloadaoc2025-54f52070893fa0e4baaa0d775e0216566f496652.tar.xz
aoc2025-54f52070893fa0e4baaa0d775e0216566f496652.zip
rename prepare/runHEADmain
Diffstat (limited to 'prepare.sh')
-rwxr-xr-xprepare.sh11
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"