refacts / oubs attrs
This commit is contained in:
parent
b63947f34e
commit
8c472a6f5f
4 changed files with 0 additions and 0 deletions
19
scripts/make/versioning.mk
Normal file
19
scripts/make/versioning.mk
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
ifndef PRJNAME
|
||||
PRJNAME := $(shell basename `pwd -P`)
|
||||
endif
|
||||
SOLUTIONDIR=../..
|
||||
version := $(shell cat $(SOLUTIONDIR)/version.txt)
|
||||
MAKE=make
|
||||
NUGETSOURCE=$(HOME)/Nupkgs
|
||||
VERSION=$(version)
|
||||
CONFIGURATION=Debug
|
||||
|
||||
version-check:
|
||||
ifndef version
|
||||
@echo no version number specification ... please, could you try and run 'echo 1.2.3 > $(SOLUTIONDIR)version.txt' ?.
|
||||
else
|
||||
@echo 'Got version number : $(version)'
|
||||
endif
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue