Last active
January 31, 2017 23:10
-
-
Save nanliu/6aa364819d254500a1be3c4390f6abe5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
set -u | |
GOPATH=~/gopath | |
export GOPATH | |
PATH="${GOPATH}/bin":$PATH | |
export PATH | |
proj_path="${GOPATH}/src/github.com/intelsdi-x/${1}" | |
mkdir -p "${proj_path}" | |
mkdir -p ~/src | |
cp -rp ~/src/* "${proj_path}" | |
cd "${proj_path}" | |
eval "$(gimme 1.7)" | |
cd "${proj_path}" && make test-large |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment