signaller/Makefile

12 lines
327 B
Makefile
Raw Normal View History

2019-07-22 16:53:39 +00:00
all: install test
install:
2019-07-21 10:02:58 +00:00
go install github.com/nxshock/signaller/cmd
2019-07-19 07:40:15 +00:00
update-deps:
2019-07-21 09:51:03 +00:00
go mod tidy
2019-07-22 16:53:39 +00:00
test: update-deps
go get golang.org/x/tools/cmd/cover
go get github.com/mattn/goveralls
go test ./... -v -covermode=count -coverprofile=coverage.out
2019-07-22 16:56:08 +00:00
$(HOME)/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci