Files
gocqlx/Makefile
2017-07-31 16:18:17 +02:00

26 lines
470 B
Makefile

all: check test integration-test
.PHONY: check
check:
gofmt -s -l . | ifne false
go vet ./...
golint -set_exit_status ./...
misspell ./...
ineffassign .
.PHONY: test
test:
go test -cover -race ./...
.PHONY: integration-test
integration-test:
go test -cover -tags integration
.PHONY: get-deps
get-deps:
go get -t ./...
go get -u github.com/golang/lint/golint
go get -u github.com/client9/misspell/cmd/misspell
go get -u github.com/gordonklaus/ineffassign