You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hostess/Makefile

24 lines
493 B
Makefile

all: build test
deps:
go get golang.org/x/tools/cmd/cover
go get github.com/codegangsta/cli
build: deps
9 years ago
go build -o hostess cmd/hostess/main.go
9 years ago
test:
@go test -coverprofile=../coverage.out
@go tool cover -html=../coverage.out -o ../coverage.html
9 years ago
gox:
go get github.com/mitchellh/gox
gox -build-toolchain
build-all: test
@which gox || make gox
9 years ago
gox -arch="amd64" -os="darwin" -os="linux" github.com/cbednarski/hostess/cmd/hostess
9 years ago
install: build test
9 years ago
cp hostess /usr/sbin/hostess