check for the go command not GOROOT

pull/352/head
Joseph Poirier 2016-03-24 08:45:59 -05:00
rodzic fe8b440e9e
commit a1ee8dd5e1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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: