diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-07-02 21:46:51 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-07-02 21:46:51 +0200 |
commit | 5e2e4b3d8bb1c685c962ea1f447d7ee6f6babaac (patch) | |
tree | 0bc4268f12f9f3aaea4e2ae3f4dd09ebac08832d | |
download | zig-playground-5e2e4b3d8bb1c685c962ea1f447d7ee6f6babaac.tar.gz zig-playground-5e2e4b3d8bb1c685c962ea1f447d7ee6f6babaac.zip |
zig setup
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | setup.fish | 11 |
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 |