mirror of
https://github.com/yudai/gotty.git
synced 2025-09-21 21:40:49 +02:00
Change to go1.6.1 and vendoring
This commit is contained in:
parent
b1c5226875
commit
a350994aa2
164 changed files with 17 additions and 1383 deletions
8
Makefile
8
Makefile
|
@ -1,7 +1,7 @@
|
|||
OUTPUT_DIR = ./builds
|
||||
|
||||
gotty: app/resource.go main.go app/*.go
|
||||
go build
|
||||
godep go build
|
||||
|
||||
resource: app/resource.go
|
||||
|
||||
|
@ -35,12 +35,10 @@ tools:
|
|||
go get github.com/tools/godep
|
||||
go get github.com/mitchellh/gox
|
||||
go get github.com/tcnksm/ghr
|
||||
|
||||
deps:
|
||||
godep restore
|
||||
go get github.com/jteeuwen/go-bindata/...
|
||||
|
||||
test:
|
||||
if [ `go fmt ./... | wc -l` -gt 0 ]; then echo "go fmt error"; exit 1; fi
|
||||
if [ `go fmt $(go list ./... | grep -v /vendor/) | wc -l` -gt 0 ]; then echo "go fmt error"; exit 1; fi
|
||||
|
||||
cross_compile:
|
||||
GOARM=5 gox -os="darwin linux freebsd netbsd openbsd" -arch="386 amd64 arm" -output "${OUTPUT_DIR}/pkg/{{.OS}}_{{.Arch}}/{{.Dir}}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue