Skip to content

Commit

Permalink
chore: add a simple Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Jul 16, 2022
1 parent 3567eae commit 1babc0c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@
# Dependency directories (remove the comment below to include it)
# vendor/
.vscode

asasalint
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.PHONY: clean check test build

default: clean check test build

clean:
rm -rf dist/ cover.out

test: clean
go test -v -cover ./...

check:
golangci-lint run

build:
go build -ldflags "-s -w" -trimpath ./cmd/asasalint/

0 comments on commit 1babc0c

Please sign in to comment.