customize build

This commit is contained in:
Noah Zoschke 2018-01-26 08:55:12 -08:00
parent 08b8a98248
commit e83d23555c

View File

@ -5,8 +5,10 @@ mkdir -p src/$PKG && cd src/$PKG
run -s "Cloning" git clone $URL --branch $REF --single-branch . run -s "Cloning" git clone $URL --branch $REF --single-branch .
git reset --hard $SHA git reset --hard $SHA
PKGS=$(go list $PKG/...) go get github.com/russross/blackfriday
PKGS=$(go list $PKG/... | grep -v examples)
run -s "Linting" golint -set_exit_status $PKGS run -s "Linting" golint -set_exit_status $PKGS
run -s "Vetting" go vet -x $PKGS run -s "Vetting" go vet -x $PKGS
run -s "Building" go build -v $PKGS run -s "Building" tools/build
run -s "Testing" go test -v $PKGS run -s "Testing" go test -v $PKGS