Skip to content

Commit

Permalink
add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mazznoer committed Aug 3, 2024
1 parent 6d41a0b commit 756e7b9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SHELL := /bin/bash

.PHONY: all check test

all: check test

check:
go build && go vet && gofmt -s -l .

test:
go test -v -coverprofile coverage.out && go tool cover -html coverage.out -o coverage.html

0 comments on commit 756e7b9

Please sign in to comment.