aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/ldez/gomoddirectives/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/ldez/gomoddirectives/Makefile')
-rw-r--r--vendor/github.com/ldez/gomoddirectives/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/github.com/ldez/gomoddirectives/Makefile b/vendor/github.com/ldez/gomoddirectives/Makefile
new file mode 100644
index 000000000..dd3b335c7
--- /dev/null
+++ b/vendor/github.com/ldez/gomoddirectives/Makefile
@@ -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 -v -ldflags "-s -w" -trimpath ./cmd/gomoddirectives/