mirror of https://github.com/cbednarski/hostess
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.
30 lines
464 B
Makefile
30 lines
464 B
Makefile
all: build test
|
|
|
|
deps:
|
|
go get golang.org/x/lint/golint
|
|
go get golang.org/x/tools/cmd/cover
|
|
go get
|
|
|
|
build: deps
|
|
go build cmd/hostess/hostess.go
|
|
|
|
test:
|
|
go test -coverprofile=coverage.out; go tool cover -html=coverage.out -o coverage.html
|
|
go vet $(PACKAGES)
|
|
golint $(PACKAGES)
|
|
|
|
build-all: test
|
|
|
|
echo FIXME
|
|
exit 1
|
|
|
|
install:
|
|
go install .
|
|
|
|
clean:
|
|
rm -f ./hostess
|
|
rm -f ./hostess_*
|
|
rm -f ./coverage.*
|
|
|
|
.PHONY: all deps build test gox build-all install clean
|