Skip to content

Commit fe59f30

Browse files
committed
chore: add makefile for golang project
1 parent 95d4b1e commit fe59f30

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

go-algorithm/Makefile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.PHONY: all
2+
all: fmt clean build test
3+
4+
.PHONY: fmt
5+
fmt:
6+
go fmt ./...
7+
8+
.PHONY: clean
9+
clean:
10+
go clean
11+
12+
.PHONY: build
13+
build:
14+
go build ./...
15+
16+
.PHONY: test
17+
test:
18+
go test -v ./...

0 commit comments

Comments
 (0)