Skip to content

Commit

Permalink
install zig 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
naoki9911 committed Jul 16, 2024
1 parent 6c72bf2 commit 09f9b41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install_zig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ case "$unames" in
*) echo "Unknown HOST_ARCH=$(uname -s)"; exit 1;;
esac

ZIG_VERSION=0.12.0
ZIG_VERSION=0.13.0
ZIG_VERSIONS=$(curl https://ziglang.org/download/index.json)

ZIG_MASTER_TAR=$(echo $ZIG_VERSIONS | jq -r ".\"$ZIG_VERSION\".\"$HOST_ARCH\".tarball")
Expand Down Expand Up @@ -42,4 +42,5 @@ cat ~/.bashrc | grep "PATH=\$PATH:$HOME/.local/zig-master"
if [ $? -ne 0 ]; then
echo "PATH=\$PATH:$HOME/.local/zig-master" >> ~/.bashrc
fi
set -e
set -e

0 comments on commit 09f9b41

Please sign in to comment.