first working build

This commit is contained in:
César Gallego Rodríguez
2019-09-04 10:59:30 +02:00
parent 7961ed1089
commit bc0ca07dc2
6 changed files with 48 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
.PHONY: test install acceptance deps
all: acceptance
test: deps
go test -race -coverprofile=/tmp/c.out github.com/BBVA/kapow/pkg/...
go tool cover -html=/tmp/c.out -o coverage.html
install: test
go install github.com/BBVA/kapow/...
acceptance: install
pipenv run make -C spec/test
deps:
go install github.com/spf13/cobra