Debian Codegraph @

Makefile

raw
1 DIR?=./autorest/
2
3 default: build
4
5 build: fmt
6 cd $(DIR); go install
7
8 test:
9 cd $(DIR); go test -v
10
11 vet:
12 cd $(DIR); go vet
13
14 fmt:
15 gofmt -w $(DIR)
16
17 .PHONY: build test vet fmt