summaryrefslogtreecommitdiff
path: root/prepare
diff options
context:
space:
mode:
authorXander Bil <xander@biltopia.org>2024-12-04 23:58:20 +0100
committerXander Bil <xander@biltopia.org>2024-12-04 23:58:20 +0100
commit7b47337e40672c4c5f12a2773d3888c17237f36a (patch)
tree734e104dacaeb4708912449aac28a074f225acc5 /prepare
parent1c2490f5f2c9419ddb5035fc3a8967beef691e6c (diff)
downloadaoc2024-7b47337e40672c4c5f12a2773d3888c17237f36a.tar.xz
aoc2024-7b47337e40672c4c5f12a2773d3888c17237f36a.zip
solutions day3 and 4
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..c433c1b
--- /dev/null
+++ b/prepare
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+if [ -z "$(command -v zig)" ]; then
+ echo "Install zig v0.13.0"
+ exit 1
+fi
+if [[ "$(zig version)" != "0.13.1" ]]; then
+ echo "Zig version is not 0.13.0. Let's hope this compiles."
+fi
+zig build -Doptimize=ReleaseFast
+echo "Success"