kopia lustrzana https://github.com/cyoung/stratux
Updated for circleci
rodzic
b58f1993fd
commit
33332a9feb
3
Makefile
3
Makefile
|
@ -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:
|
||||
|
|
|
@ -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))
|
||||
|
|
Ładowanie…
Reference in New Issue