customize build
This commit is contained in:
parent
08b8a98248
commit
e83d23555c
6
bios.sh
6
bios.sh
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user