kopia lustrzana https://github.com/cyoung/stratux
check for the go command not GOROOT
rodzic
fe8b440e9e
commit
a1ee8dd5e1
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ ifeq "$(CIRCLECI)" "true"
|
|||
BUILDINFO=
|
||||
else
|
||||
BUILDINFO=-ldflags "-X main.stratuxVersion=`git describe --tags --abbrev=0` -X main.stratuxBuild=`git log -n 1 --pretty=%H`"
|
||||
$(if $(GOROOT),,$(error GOROOT is not set!))
|
||||
$(ifeq (, $(shell which go)),,$(error Go command not found!))
|
||||
endif
|
||||
|
||||
all:
|
||||
|
|
Ładowanie…
Reference in New Issue