You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,9 @@ default: build-all
20
20
run: build/go-makefile-maker
21
21
./build/go-makefile-maker
22
22
23
+
install-goimports: FORCE
24
+
@if !hash goimports 2>/dev/null;thenprintf"\e[1;36m>> Installing goimports (this may take a while)...\e[0m\n"; go install golang.org/x/tools/cmd/goimports@latest;fi
25
+
23
26
install-golangci-lint: FORCE
24
27
@if !hash golangci-lint 2>/dev/null;thenprintf"\e[1;36m>> Installing golangci-lint (this may take a while)...\e[0m\n"; go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest;fi
25
28
@@ -110,7 +113,7 @@ check-dependency-licenses: FORCE install-go-licence-detector
110
113
@printf "\e[1;36m>> go-licence-detector\e[0m\n"
111
114
@go list -m -mod=readonly -json all | go-licence-detector -includeIndirect -rules .license-scan-rules.json -overrides .license-scan-overrides.jsonl
0 commit comments