summaryrefslogtreecommitdiff
path: root/prepare
blob: c433c1ba7fc9883ab7d6f22e1db4b96a2f32a54a (plain)
1
2
3
4
5
6
7
8
9
10
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"