yavsc/scripts/build/make/versioning.mk

20 lines
426 B
Makefile

ifndef PRJNAME
PRJNAME := $(shell basename `pwd -P`)
endif
SOLUTIONDIR=$(HOME)/workspace/yavsc
5 years ago
version := $(shell cat $(SOLUTIONDIR)/version.txt)
MAKE=make
NUGETSOURCE=$(HOME)/Nupkgs
5 years ago
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