Files
athens/scripts/get_dev_tools.sh
Carolyn Van Slyck f1efadeed3 Run E2E tests during CI (#363)
* Use go1.11beta2 instead of vgo

* Make the go 1.11 source directory configurable

Don't error out if it's been cloned already

* Add end-to-end (e2e) tests

* Make sure the repo bin is on the path

* Call the dev target from setup-dev-env

* Use the same dev setup on travis and locally
2018-08-03 16:40:33 +02: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.11beta2"
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