Fix Makefile after 'go get' deprecation (fixes #160)

This commit is contained in:
Renato Caldas 2022-07-13 22:14:29 +01:00 committed by Carlos Eduardo
parent 46176b4671
commit 800d2e2b71

View File

@ -49,20 +49,20 @@ tar: manifests ## Generates a .tar.gz from manifests dir
$(JB_BINARY): ## Installs jsonnet-bundler utility $(JB_BINARY): ## Installs jsonnet-bundler utility
@echo "Installing jsonnet-bundler" @echo "Installing jsonnet-bundler"
@go get -u github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb @go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest
$(JSONNET_BIN): ## Installs jsonnet and jsonnetfmt utility $(JSONNET_BIN): ## Installs jsonnet and jsonnetfmt utility
@echo "Installing jsonnet" @echo "Installing jsonnet"
@go get -u github.com/google/go-jsonnet/cmd/jsonnet @go install github.com/google/go-jsonnet/cmd/jsonnet@latest
@go get -u github.com/google/go-jsonnet/cmd/jsonnetfmt @go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest
@go get -u github.com/brancz/gojsontoyaml @go install github.com/brancz/gojsontoyaml@latest
update_tools: ## Updates jsonnet, jsonnetfmt and jb utilities update_tools: ## Updates jsonnet, jsonnetfmt and jb utilities
@echo "Updating jsonnet" @echo "Updating jsonnet"
@go get -u github.com/google/go-jsonnet/cmd/jsonnet @go install github.com/google/go-jsonnet/cmd/jsonnet@latest
@go get -u github.com/google/go-jsonnet/cmd/jsonnetfmt @go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest
@go get -u github.com/brancz/gojsontoyaml @go install github.com/brancz/gojsontoyaml@latest
@go get -u github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb @go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest
change_suffix: ## Changes suffix for the ingress. Pass suffix=[suffixURL] as argument change_suffix: ## Changes suffix for the ingress. Pass suffix=[suffixURL] as argument
@echo "Ingress IPs changed to [service].${suffix}" @echo "Ingress IPs changed to [service].${suffix}"