summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-07-02 21:46:51 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-07-02 21:46:51 +0200
commit5e2e4b3d8bb1c685c962ea1f447d7ee6f6babaac (patch)
tree0bc4268f12f9f3aaea4e2ae3f4dd09ebac08832d
downloadzig-playground-5e2e4b3d8bb1c685c962ea1f447d7ee6f6babaac.tar.gz
zig-playground-5e2e4b3d8bb1c685c962ea1f447d7ee6f6babaac.zip
zig setup
-rw-r--r--.gitignore1
-rw-r--r--setup.fish11
2 files changed, 12 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ed0b820
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+zig-linux-x86_64-0.*
diff --git a/setup.fish b/setup.fish
new file mode 100644
index 0000000..e4d125d
--- /dev/null
+++ b/setup.fish
@@ -0,0 +1,11 @@
+set -l BASE zig-linux-x86_64-0.14.0-dev.130+cb308ba3a
+
+echo "SETUP $BASE"
+
+if ! test -d $BASE
+ wget --no-clobber https://ziglang.org/builds/$BASE.tar.xz
+ tar xf $BASE.tar.xz
+ rm -f $BASE.tar.xz
+end
+
+fish_add_path --path (pwd)/$BASE