mirror of
https://github.com/yudai/gotty.git
synced 2026-02-11 19:04:21 +01:00
Run tests on push
This commit is contained in:
parent
d674aa1120
commit
55674f1928
2 changed files with 26 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -79,6 +79,7 @@ tools:
|
|||
|
||||
test:
|
||||
if [ `go fmt $(go list ./... | grep -v /vendor/) | wc -l` -gt 0 ]; then echo "go fmt error"; exit 1; fi
|
||||
go test ./...
|
||||
|
||||
cross_compile:
|
||||
GOARM=5 gox -os="darwin linux freebsd netbsd openbsd solaris" -arch="386 amd64 arm arm64" -osarch="!darwin/386" -osarch="!darwin/arm" $(BUILD_OPTIONS) -output "${OUTPUT_DIR}/pkg/{{.OS}}_{{.Arch}}/{{.Dir}}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue