aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer/scripts/zig-env.sh
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-12-23 18:39:51 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-12-23 18:40:03 -0800
commitb73e7a9732beefefa82934e728421275a089c49d (patch)
tree2290932b844eb1d4f1c278b31778bf3c096673f5 /.devcontainer/scripts/zig-env.sh
parent2047140ddaded70f7091ab1dc79be0945bf70c67 (diff)
downloadbun-b73e7a9732beefefa82934e728421275a089c49d.tar.gz
bun-b73e7a9732beefefa82934e728421275a089c49d.tar.zst
bun-b73e7a9732beefefa82934e728421275a089c49d.zip
Add VSCode devcontainer environment for easy contributing
Diffstat (limited to '.devcontainer/scripts/zig-env.sh')
-rw-r--r--.devcontainer/scripts/zig-env.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/.devcontainer/scripts/zig-env.sh b/.devcontainer/scripts/zig-env.sh
new file mode 100644
index 000000000..a0d3193c2
--- /dev/null
+++ b/.devcontainer/scripts/zig-env.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+curl -L https://github.com/Jarred-Sumner/vscode-zig/releases/download/fork-v1/zig-0.2.5.vsix >/home/ubuntu/vscode-zig.vsix
+git clone https://github.com/zigtools/zls /home/ubuntu/zls
+cd /home/ubuntu/zls
+git checkout e472fca3be6335f16032b48e40ca0d5ffda6ab0a
+git submodule update --init --recursive --progress --depth=1
+zig build -Drelease-fast