Skip to content

Commit

Permalink
feat: add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bschaatsbergen committed Jun 29, 2024
1 parent eb8ca36 commit b7e5e2c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
default: fmt lint build install

build:
go build -v ./...

install: build
go install -v ./...

lint:
golangci-lint run

fmt:
gofmt -s -w -e .

test:
go test -v -cover -timeout=120s -parallel=10 ./...

.PHONY: build install lint fmt test

0 comments on commit b7e5e2c

Please sign in to comment.