gobyexample/bios.sh
Noah Zoschke fd573c3095 no tests
2018-01-26 08:55:25 -08:00

14 lines
338 B
Bash
Executable File

#!/bin/bash
set -ex
mkdir -p src/$PKG && cd src/$PKG
run -s "Cloning" git clone $URL --branch $REF --single-branch .
git reset --hard $SHA
go get github.com/russross/blackfriday
PKGS=$(go list $PKG/... | grep -v examples)
run -s "Linting" golint -set_exit_status $PKGS
run -s "Vetting" go vet -x $PKGS
run -s "Building" tools/build