Updated for circleci

pull/133/head
Jim Jacobsen 2015-12-06 18:35:32 +00:00
rodzic b58f1993fd
commit 33332a9feb
2 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -1,10 +1,9 @@
# check to make sure GOROOT variable is set
$(if $(GOROOT),,$(error GOROOT is not set!))
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!))
endif
all:

Wyświetl plik

@ -1,4 +1,8 @@
$(if $(GOROOT),,$(error GOROOT is not set!))
ifeq "$(CIRCLECI)" "true"
#
else
$(if $(GOROOT),,$(error GOROOT is not set!))
endif
SRCS = $(wildcard *.go)
DEST = $(patsubst %.go,%,$(SRCS))