Skip to content

Commit fcbbc2a

Browse files
committed
update .PHONY in Makefile
1 parent 979625c commit fcbbc2a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1+
.PHONY: all
12
all: clean lint test
23

4+
.PHONY: test
35
test:
46
go test -v ./...
57

8+
.PHONY: lint
69
lint: testdeps
710
go vet ./...
811
golint -set_exit_status ./...
912

13+
.PHONY: testdeps
1014
testdeps:
1115
go get -d -v -t ./...
1216
go get golang.org/x/lint/golint
1317

18+
.PHONY: clean
1419
clean:
1520
go clean
16-
17-
.PHONY: test lint testdeps clean

0 commit comments

Comments
 (0)