hotfix solution dir

vnext
Paul Schneider 4 years ago
parent e7446ff913
commit 4620282d94
2 changed files with 4 additions and 5 deletions

@ -5,8 +5,8 @@ MONO=mono
CONFIGURATION=Debug
BINTYPE=exe
PRJNAME := $(shell basename `pwd -P`)
SOLUTIONDIR=$(HOME)/workspace/yavsc
rc_num := $(shell cat $(SOLUTIONDIR)/rc-num.txt)
rc_num := $(shell cat ../../rc-num.txt)
VERSION=1.0.5-rc$(rc_num)
BINTARGET=$(PRJNAME).$(BINTYPE)

@ -2,8 +2,7 @@
ifndef PRJNAME
PRJNAME := $(shell basename `pwd -P`)
endif
SOLUTIONDIR=../..
version := $(shell cat $(SOLUTIONDIR)/version.txt)
version := $(shell cat ../../version.txt)
MAKE=make
NUGETSOURCE=$(HOME)/Nupkgs
VERSION=$(version)
@ -11,7 +10,7 @@ CONFIGURATION=Debug
version-check:
ifndef version
@echo no version number specification ... please, could you try and run 'echo 1.2.3 > $(SOLUTIONDIR)version.txt' ?.
@echo no version number specification ... please, could you try and run 'echo 1.2.3 > ../../version.txt' ?.
else
@echo 'Got version number : $(version)'
endif

Loading…