Migrate tool dependencies to scripts/go.mod
This commit is contained in:
2
Makefile
2
Makefile
@@ -52,4 +52,4 @@ $(BIN_DIR):
|
||||
|
||||
$(TOOLING): $(BIN_DIR)
|
||||
@echo Installing tools from scripts/tools.go
|
||||
@cat scripts/tools.go | grep _ | awk -F'"' '{print $$2}' | xargs -tI % go build -o $(BIN_DIR) %
|
||||
@cd scripts && cat tools.go | grep _ | awk -F'"' '{print $$2}' | xargs -tI % go build -modfile=go.mod -o $(BIN_DIR) %
|
||||
|
||||
Reference in New Issue
Block a user