From 7b47337e40672c4c5f12a2773d3888c17237f36a Mon Sep 17 00:00:00 2001 From: Xander Bil Date: Wed, 4 Dec 2024 23:58:20 +0100 Subject: solutions day3 and 4 --- prepare | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 prepare (limited to 'prepare') 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" -- cgit v1.2.3