Skip to content

Instantly share code, notes, and snippets.

@nanliu
Last active January 31, 2017 23:10
Show Gist options
  • Save nanliu/6aa364819d254500a1be3c4390f6abe5 to your computer and use it in GitHub Desktop.
Save nanliu/6aa364819d254500a1be3c4390f6abe5 to your computer and use it in GitHub Desktop.
#!/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