mirror of
https://github.com/cbednarski/hostess
synced 2024-11-11 19:10:37 +00:00
Added gox build
This commit is contained in:
parent
64caf045bc
commit
598bfb7ecb
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
hostess
|
||||
main
|
||||
hostess_*
|
||||
coverage.out
|
||||
coverage.html
|
8
Makefile
8
Makefile
@ -10,5 +10,13 @@ test: build
|
||||
@cd lib && go test -coverprofile=../coverage.out
|
||||
@cd lib && go tool cover -html=../coverage.out -o ../coverage.html
|
||||
|
||||
gox:
|
||||
go get github.com/mitchellh/gox
|
||||
gox -build-toolchain
|
||||
|
||||
build-all: test
|
||||
@which gox || make gox
|
||||
gox -arch="amd64" -os="darwin" -os="linux"
|
||||
|
||||
install: build test
|
||||
cp main /usr/sbin/hostess
|
Loading…
Reference in New Issue
Block a user