Migrate tool dependencies to scripts/go.mod

This commit is contained in:
Ali Akca
2020-11-12 23:49:01 +01:00
parent c123d87347
commit 1b12e6882d
5 changed files with 66 additions and 28 deletions

View File

@@ -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) %