a generic Makefile target to deploy nuget packages
This commit is contained in:
parent
eba5a30c5a
commit
f5a14a0fad
4 changed files with 27 additions and 29 deletions
12
cli/Makefile
12
cli/Makefile
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue