fixed last level oos bug, added more levels and entities

This commit is contained in:
2024-03-15 20:08:23 +01:00
parent 1d9164d140
commit 2084150456
9 changed files with 1662 additions and 62 deletions

View File

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