From b6eabe32e94cf60f5c94fa727cc7aecd98230f02 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Thu, 12 Apr 2018 13:31:46 +0200 Subject: [PATCH] initial import --- Yavsc.Server/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Yavsc.Server/Makefile diff --git a/Yavsc.Server/Makefile b/Yavsc.Server/Makefile new file mode 100644 index 00000000..0ff1c212 --- /dev/null +++ b/Yavsc.Server/Makefile @@ -0,0 +1,24 @@ +CONFIG=Release +VERSION=1.0.5-rc8 +PRJNAME=Yavsc.Server + +PKGFILENAME=$(PRJNAME).$(VERSION).nupkg +DESTPATH=. +PACKAGE=$(DESTPATH)/$(PKGFILENAME) +BINARY=bin/$(CONFIG)/net451/$(PRJNAME).dll +NUGETSOURCE=$(HOME)/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)