Files
boringproxy/scripts/install_go.sh
Anders Pitman 6b36c256c3 Overhaul build scripts
* Moved scripts into separate directory.
* Can now do a release build with a single command.
* Automatically create release tarball.
2020-11-04 08:37:00 -07:00

10 lines
259 B
Bash
Executable File

#!/bin/bash
export VERSION=1.15 OS=linux ARCH=amd64
curl -O https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz
tar -C /usr/local -xzvf go$VERSION.$OS-$ARCH.tar.gz
rm go$VERSION.$OS-$ARCH.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> $HOME/.bashrc