aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/sonatard/noctx/Makefile
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2024-11-11 11:41:38 +0100
committerTaras Madan <tarasmadan@google.com>2024-11-11 11:10:48 +0000
commit27e76fae2ee2d84dc7db63af1d9ed7358ba35b7a (patch)
treeed19c0e35e272b3c4cc5a2f2c595e035b2428337 /vendor/github.com/sonatard/noctx/Makefile
parent621e84e063b0e15b23e17780338627c509e1b9e8 (diff)
vendor: update
Diffstat (limited to 'vendor/github.com/sonatard/noctx/Makefile')
-rw-r--r--vendor/github.com/sonatard/noctx/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/github.com/sonatard/noctx/Makefile b/vendor/github.com/sonatard/noctx/Makefile
index 1a27f6b59..585a9d7e2 100644
--- a/vendor/github.com/sonatard/noctx/Makefile
+++ b/vendor/github.com/sonatard/noctx/Makefile
@@ -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 ./
@@ -14,3 +14,5 @@ test_coverage:
lint:
golangci-lint run ./...
+build:
+ go build -ldflags "-s -w" -trimpath ./cmd/noctx/