We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ebc1b1 commit ae8ffcbCopy full SHA for ae8ffcb
.gitignore
@@ -1 +1,2 @@
1
tc-redirect-tap
2
+bin/
Makefile
@@ -17,6 +17,7 @@ EXTRAGOARGS?=
17
SOURCES:=$(shell find . -name '*.go' ! -name '*_test.go')
18
GOMOD := $(shell go env GOMOD)
19
GOSUM := $(GOMOD:.mod=.sum)
20
+GOBIN := $(abspath ./bin)
21
22
# Set this to override the directory in which the tc-redirect-tap plugin is
23
# installed by the "install" target
@@ -39,9 +40,11 @@ test:
39
40
.PHONY: clean
41
clean:
42
- rm -f tc-redirect-tap
43
+ - rm -rf $(GOBIN)
44
45
deps:
46
echo
47
48
lint:
- echo
49
+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOBIN) v1.46.2
50
+ $(GOBIN)/golangci-lint run ./...
0 commit comments