refact.
parent
fd7b50bc8a
commit
08eca1f46f
@ -0,0 +1,25 @@
|
|||||||
|
CONFIG=Release
|
||||||
|
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)
|
||||||
|
|
||||||
|
.PHONY: $(BINARY)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue