Skip to content

Commit 65c7b9e

Browse files
committed
Update Makefile
1 parent e6f7239 commit 65c7b9e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
BIN=$(GOBIN)
2+
13
build:
24
go build -ldflags="-s -w" -o gcb-visualizer
35

@@ -12,9 +14,9 @@ format-lint:
1214
gofmt -l -d .
1315

1416
import-lint:
15-
goimports -l -d .
17+
${BIN}/goimports -l -d .
1618

1719
style-lint:
18-
golint ./...
20+
${BIN}/golint ./...
1921

2022
lint: format-lint import-lint style-lint

0 commit comments

Comments
 (0)