summaryrefslogtreecommitdiff
path: root/prepare
diff options
context:
space:
mode:
authorxander <xander@biltopia.org>2025-12-07 13:12:06 +0100
committerxander <xander@biltopia.org>2025-12-07 13:12:06 +0100
commit516e6ed4a9066fa43d6159b2a0ec58416ab28013 (patch)
tree9925207e97b9e6e1fd83a55bdb878c43071cf73a /prepare
downloadaoc2025-516e6ed4a9066fa43d6159b2a0ec58416ab28013.tar.xz
aoc2025-516e6ed4a9066fa43d6159b2a0ec58416ab28013.zip
solve up to day 7
Diffstat (limited to 'prepare')
-rwxr-xr-xprepare11
1 files changed, 11 insertions, 0 deletions
diff --git a/prepare b/prepare
new file mode 100755
index 0000000..fc35462
--- /dev/null
+++ b/prepare
@@ -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"