yavsc/cli/Makefile

29 lines
524 B
Makefile

include ../common.mk
6 years ago
6 years ago
MSBUILD=msbuild
6 years ago
all: build
build: project.lock.json
ASPNET_ENV=$(ASPNET_ENV) ASPNET_LOG_LEVEL=$(ASPNET_LOG_LEVEL) dnu build --configuration=$(CONFIGURATION)
6 years ago
restore:
touch project.json
dnu restore
6 years ago
msbuild-restore:
$(MSBUILD) cli.csproj /t:Restore
6 years ago
project.lock.json: project.json
dnu restore
run: project.lock.json
ASPNET_ENV=Development ASPNET_LOG_LEVEL=$(ASPNET_LOG_LEVEL) dnx run --configuration=$(CONFIGURATION)
6 years ago
deploy-pkg: $(PACKAGE)
cp $(PACKAGE) $(NUGETSOURCE)
6 years ago
.PHONY: $(BINARY)
6 years ago