aboutsummaryrefslogtreecommitdiff
path: root/bin/download-compiler
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2024-01-18 18:59:26 +0000
committerLouis Pilfold <louis@lpil.uk>2024-01-18 18:59:26 +0000
commit39eb82032297e39a1d905fecc5c12c642ebdaa0a (patch)
treecff29cd70e069bffd42c5bb960e89fc9e436cb93 /bin/download-compiler
parent22178107e90a79bca48ff79b70617e04e46c90cc (diff)
downloadtour-39eb82032297e39a1d905fecc5c12c642ebdaa0a.tar.gz
tour-39eb82032297e39a1d905fecc5c12c642ebdaa0a.zip
Strip out deploy section
Diffstat (limited to 'bin/download-compiler')
-rw-r--r--bin/download-compiler10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/download-compiler b/bin/download-compiler
new file mode 100644
index 0000000..2bd32d5
--- /dev/null
+++ b/bin/download-compiler
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -eu
+
+VERSION="v0.34.1"
+
+mkdir wasm-compiler
+cd wasm-compiler
+curl -L "https://github.com/gleam-lang/gleam/releases/download/$VERSION/gleam-$VERSION-browser.tar.gz" | tar xz
+cd ..