hotfix solution dir
This commit is contained in:
parent
87dd938819
commit
3fe3e23c8e
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…
Add table
Add a link
Reference in a new issue