Added gox build

pull/13/head
Chris Bednarski 9 years ago
parent 64caf045bc
commit 598bfb7ecb

2
.gitignore vendored

@ -1,4 +1,4 @@
hostess
main
hostess_*
coverage.out
coverage.html

@ -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…
Cancel
Save