Skip to content

Commit 9a060bb

Browse files
authored
Create Makefile
1 parent 9b1713d commit 9a060bb

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.DEFAULT_GOAL := build
2+
3+
fmt:
4+
go fmt cat.go
5+
.PHONY:fmt
6+
7+
lint: fmt
8+
golint cat.go
9+
.PHONY:lint
10+
11+
vet: fmt
12+
go vet cat.go
13+
.PHONY:vet
14+
15+
build: vet
16+
go build cat.go
17+
.PHONY:build

0 commit comments

Comments
 (0)