initial import
This commit is contained in:
parent
8b4bed8cb8
commit
26a41c2381
1 changed files with 24 additions and 0 deletions
24
Yavsc.Server/Makefile
Normal file
24
Yavsc.Server/Makefile
Normal file
|
|
@ -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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue