18 строки
272 B
Bash
Executable File
18 строки
272 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
. script/bootstrap
|
|
|
|
echo "Verifying code is formatted via 'gofmt -s -w go/'"
|
|
gofmt -s -w go/
|
|
git diff --exit-code --quiet
|
|
|
|
echo "Building"
|
|
script/build
|
|
|
|
cd .gopath/src/github.com/github/orchestrator-agent
|
|
|
|
echo "Running unit tests"
|
|
go test ./go/...
|