Created
November 12, 2019 03:55
-
-
Save kaihendry/14ecb57e3a1f14f96cb1516788bc2ac3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GO=go | |
GOBUILD=${GO} build | |
GOINSTALL=${GO} install | |
GOTEST=${GO} test | |
GOPROXY=https://proxy.golang.org,direct | |
GOPRIVATE=source.example.com | |
GOTOOL=${GO} tool | |
.PHONY: env | |
env: | |
@echo "GOVERSION: $(shell ${GO} version)" | |
@echo "GITVERSION: $(shell git --version)" | |
@echo "GO111MODULE: $(shell ${GO} env GO111MODULE)" | |
@echo "GOFLAGS: $(shell ${GO} env GOFLAGS)" | |
@echo "GOPRIVATE: $(shell ${GO} env GOPRIVATE)" | |
@echo "GOPROXY: $(shell ${GO} env GOPROXY)" | |
@echo "GONOPROXY: $(shell ${GO} env GONOPROXY)" | |
@echo "GOSUMDB: $(shell ${GO} env GOSUMDB)" | |
@echo "GONOSUMDB: $(shell ${GO} env GONOSUMDB)" | |
@echo "PATH: $(PATH)" | |
@echo "SHELL: $(SHELL)" | |
sonar: test | |
@${GO} env GOPROXY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output is bizarre: