Skip to content

Commit 8153099

Browse files
author
Ivan De Marino
committed
Adding simple Makefile with basic go commands
1 parent d73c21a commit 8153099

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
default: build
2+
3+
build:
4+
go build -v ./...
5+
6+
lint:
7+
golangci-lint run
8+
9+
fmt:
10+
gofmt -s -w -e .
11+
12+
test:
13+
go test -v -cover -timeout=120s -parallel=4 ./...
14+
15+
.PHONY: build lint fmt test

0 commit comments

Comments
 (0)