a generic Makefile target to deploy nuget packages
This commit is contained in:
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)
|
||||
|
||||
|
Reference in New Issue
Block a user