aboutsummaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
new file mode 100755
index 0000000..5d633c5
--- /dev/null
+++ b/setup.sh
@@ -0,0 +1,9 @@
+#!/bin/bash -xe
+tmpdir=$(mktemp -d -t salticidae-go-XXXXXXXX)
+cd "$tmpdir"
+curl -s https://raw.githubusercontent.com/Determinant/salticidae-go/master/scripts/build.sh -o ./build.sh
+curl -s https://raw.githubusercontent.com/Determinant/salticidae-go/master/scripts/env.sh -o ./env.sh
+chmod +x ./build.sh
+source ./env.sh
+./build.sh "$SALTICIDAE_GO_PATH"
+rm -rf "$tmpdir"