aboutsummaryrefslogblamecommitdiff
path: root/setup.sh
blob: cac7d4527fedadb431bb1a98ea0bc75baa220441 (plain) (tree)
1
2
3
4
5
6
7
8
9
              






                                                                                                         
    
                
            
#!/bin/bash -e
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"
cd -
rm -rf "$tmpdir"
unset tmpdir