Skip to content

Commit

Permalink
fix: Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Sep 15, 2024
1 parent b837df7 commit 84f14f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
coverage.out
/noctx
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: all imports test lint
.PHONY: all imports test lint build

all: imports test lint
all: imports test lint build

imports:
goimports -w ./
Expand All @@ -14,3 +14,5 @@ test_coverage:
lint:
golangci-lint run ./...

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

0 comments on commit 84f14f0

Please sign in to comment.