Skip to content

Commit

Permalink
add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mazznoer committed Aug 4, 2024
1 parent 5ae3190 commit 1f076ed
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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

bench:
go test -bench .

0 comments on commit 1f076ed

Please sign in to comment.