enforced file system

This commit is contained in:
Paul Schneider 2018-01-26 13:51:09 +01:00
commit 6066497a67
26 changed files with 143 additions and 76 deletions

View file

@ -1,17 +1,23 @@
CONFIG=Release
VERSION=1.0.2
VERSION=1.0.5-rc4
PRJNAME=Yavsc.Abstract
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
DESTPATH=.
PACKAGE=$(DESTPATH)/$(PKGFILENAME)
BINARY=bin/$(CONFIG)/net45/Yavsc.Abstract.dll
NUGETSOURCE=$(HOME)/Nupkgs/
$(PACKAGE):
nuget pack $(PRJNAME).nuspec -Version $(VERSION)
publish: $(PACKAGE)
cp $(PACKAGE) ~/Nupkgs
$(PACKAGE): $(BINARY)
nuget pack $(PRJNAME).nuspec -Version $(VERSION) -Properties config=$(CONFIG)
clean:
rm $(PACKAGE)
$(BINARY): project.lock.json
dnu build --configuration $(CONFIG)
project.lock.json: project.json
dnu restore
deploy: $(PACKAGE)
cp $(PACKAGE) $(NUGETSOURCE)