Files
athens/scripts/get_dev_tools.sh
Marwan Sulaiman 44625459fc Download: move cache location (#404)
* Download: move cache location

* beta3

* trying differnet repo

* avoid go breaking stuff
2018-08-04 11:29:30 -07:00

22 lines
490 B
Bash
Executable File

#!/bin/bash
# install_dev_deps.sh
# Ensure that the tools needed to build locally are present
set -xeuo pipefail
go get github.com/golang/lint/golint
go get github.com/golang/dep/cmd/dep
GO_VERSION="go1.11beta3"
GO_SOURCE=${GO_SOURCE:=$(go env GOPATH)/src/golang.org/x/go}
mkdir -p $(dirname $GO_SOURCE)
if [[ ! -d $GO_SOURCE ]]; then
git clone https://go.googlesource.com/go $GO_SOURCE
fi
pushd $GO_SOURCE
git checkout $GO_VERSION
cd src && ./make.bash
popd
./scripts/get_buffalo.sh