Debian Codegraph @

Makefile

raw symbols SCIP
1
2 .PHONY: deps all test full-test bin
3
4 deps:
5 go get -d ./...
6
7 bin:
8 mkdir -p bin
9 GOBIN=${PWD}/bin go install ./exp/cmd/...
10 GOBIN=${PWD}/bin go install ./cmd/...
11
12 all: deps check full-test bin
13
14 test:
15 go test -cover ./...
16
17 full-test: test
18 go test -race ./...
19
20 check:
21 which goimports > /dev/null
22 find . -name '*.go' | xargs goimports -d | tee /dev/stderr | wc -l | xargs test 0 -eq
23 which golint > /dev/null
24 golint ./... | tee /dev/stderr | wc -l | xargs test 0 -eq