a generic Makefile target to deploy nuget packages

This commit is contained in:
2018-05-03 09:43:37 +02:00
parent fec28f54af
commit 6f7763d424
4 changed files with 27 additions and 29 deletions

View File

@ -1,12 +1,9 @@
include ../common.mk
all: build
build: project.lock.json
dnu build
deploy-pkg:
ASPNET_ENV=$(ASPNET_ENV) ASPNET_LOG_LEVEL=$(ASPNET_LOG_LEVEL) dnu build --configuration=$(CONFIGURATION)
restore:
touch project.json
@ -16,7 +13,10 @@ project.lock.json: project.json
dnu restore
run: project.lock.json
ASPNET_ENV=Development ASPNET_LOG_LEVEL=Debug dnx run
ASPNET_ENV=Development ASPNET_LOG_LEVEL=$(ASPNET_LOG_LEVEL) dnx run --configuration=$(CONFIGURATION)
deploy-pkg: $(PACKAGE)
cp $(PACKAGE) $(NUGETSOURCE)
.PHONY: $(BINARY)