cli now building against Yavsc

This commit is contained in:
Paul Schneider 2018-04-20 16:16:54 +02:00
commit 764dfacc59
8 changed files with 3330 additions and 239 deletions

View file

@ -1,3 +1,4 @@
PRJNAME=Yavsc
DESTDIR=/srv/www/yavscpre
PRODDESTDIR=/srv/www/yavsc
ASPNET_ENV=Development
@ -9,6 +10,11 @@ FRMWRK=dnx451
BINTARGET=Yavsc.dll
BINTARGETPATH=bin/$(CONFIGURATION)/$(FRMWRK)/$(BINTARGET)
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
DESTPATH=.
PACKAGE=$(DESTPATH)/$(PKGFILENAME)
NUGETSOURCE=$(HOME)/Nupkgs/
all: $(BINTARGETPATH)
$(BINTARGETPATH):
@ -71,3 +77,22 @@ else
@echo EPRODANDGITSTATUS! Refus de pousser en production: des changements doivent être validés auprès du contrôle de versions.
git status
endif
$(PACKAGE): $(BINTARGETPATH)
nuget pack $(PRJNAME).nuspec -Version $(VERSION) -Properties config=$(CONFIGURATION)
clean:
rm $(PACKAGE)
$(BINARY): project.lock.json
dnu build --configuration $(CONFIGURATION)
project.lock.json: project.json
dnu restore
deploy-pkg: $(PACKAGE)
cp $(PACKAGE) $(NUGETSOURCE)

View file

@ -18,6 +18,6 @@
<tags>Blog, POS, Web API</tags>
</metadata>
<files>
<file src="bin/$config$/net451/Yavsc.dll" target="lib/portable-net45+win8+wp8+wpa81+Xamarin.Mac+MonoAndroid10+MonoTouch10+Xamarin.iOS10" />
<file src="bin/$config$/dnx451/Yavsc.dll" target="lib/portable-net45+win8+wp8+wpa81+Xamarin.Mac+MonoAndroid10+MonoTouch10+Xamarin.iOS10" />
</files>
</package>

View file

@ -125,10 +125,6 @@
"target": "project",
"type": "build"
},
"Yavsc.Server": {
"target": "project",
"type": "build"
},
"OAuth.AspNet.Token": {
"target": "project",
"type": "build"