still refactoring

This commit is contained in:
Paul Schneider 2018-05-04 10:45:45 +02:00
commit 6e6aca44f0
36 changed files with 303 additions and 324 deletions

View file

@ -1,28 +1,19 @@
include ../common.mk
include ../versioning.mk
include ../dnx.mk
MSBUILD=msbuild
all: build
build: project.lock.json
ASPNET_ENV=$(ASPNET_ENV) ASPNET_LOG_LEVEL=$(ASPNET_LOG_LEVEL) dnu build --configuration=$(CONFIGURATION)
restore:
touch project.json
dnu restore
all: $(BINTARGETPATH)
msbuild-restore:
$(MSBUILD) cli.csproj /t:Restore
project.lock.json: project.json
dnu restore
run: project.lock.json
ASPNET_ENV=Development ASPNET_LOG_LEVEL=$(ASPNET_LOG_LEVEL) dnx run --configuration=$(CONFIGURATION)
ASPNET_ENV=$(ASPNET_ENV) dnx run --configuration=$(CONFIGURATION)
info:
@echo $(PRJNAME)
deploy-pkg: $(PACKAGE)
cp $(PACKAGE) $(NUGETSOURCE)
.PHONY: $(BINARY)