fixed last level oos bug, added more levels and entities
This commit is contained in:
12
Makefile
12
Makefile
@@ -1,3 +1,11 @@
|
||||
version = $(shell egrep "version string = " config/static.go | cut -d'"' -f 2)
|
||||
BRANCH = $(shell git branch --show-current)
|
||||
COMMIT = $(shell git rev-parse --short=8 HEAD)
|
||||
BUILD = $(shell date +%Y.%m.%d.%H%M%S)
|
||||
#VERSION := $(if $(filter $(BRANCH), development),$(version)-$(BRANCH)-$(COMMIT)-$(BUILD),$(version))
|
||||
VERSION := $(version)-$(BRANCH)-$(COMMIT)-$(BUILD)
|
||||
|
||||
|
||||
all: clean build
|
||||
@echo ok
|
||||
|
||||
@@ -5,8 +13,8 @@ clean:
|
||||
rm -f openquell
|
||||
|
||||
build:
|
||||
go build
|
||||
go build -ldflags "-X 'openquell/config.VERSION=$(VERSION)'"
|
||||
|
||||
|
||||
test:
|
||||
@echo 1
|
||||
@echo $(VERSION)
|
||||
|
||||
Reference in New Issue
Block a user