This commit is contained in:
2018-12-14 16:42:11 +00:00
parent 521bdd26ba
commit eda0b7070b
2 changed files with 3 additions and 8 deletions

View File

@ -7,8 +7,6 @@ ASPNET_LOG_LEVEL=warn
include ../versioning.mk include ../versioning.mk
include ../dnx.mk include ../dnx.mk
all: $(BINTARGETPATH)
web: project.lock.json web: project.lock.json
ASPNET_LOG_LEVEL=$(ASPNET_LOG_LEVEL) ASPNET_ENV=$(ASPNET_ENV) dnx web --configuration=$(CONFIGURATION) ASPNET_LOG_LEVEL=$(ASPNET_LOG_LEVEL) ASPNET_ENV=$(ASPNET_ENV) dnx web --configuration=$(CONFIGURATION)
@ -27,11 +25,6 @@ deploy-pkg: publish
deploy: pushInPre pushInProd deploy: pushInPre pushInProd
../Yavsc.Server/bin/$(CONFIGURATION)/Yavsc.Server.dll:
make -C ../Yavsc.Server CONFIGURATION=$(CONFIGURATION)
project.json: ../Yavsc.Server/bin/$(CONFIGURATION)/Yavsc.Server.dll
pushInPre: cleanoutput bin/output/wwwroot/version pushInPre: cleanoutput bin/output/wwwroot/version
ssh $(HOSTADMIN)@$(HOSTING) sudo service kestrel-pre stop ssh $(HOSTADMIN)@$(HOSTING) sudo service kestrel-pre stop
ssh $(HOSTADMIN)@$(HOSTING) sudo rm -rf $(DESTDIR)/approot ssh $(HOSTADMIN)@$(HOSTING) sudo rm -rf $(DESTDIR)/approot

4
dnx.mk
View File

@ -26,6 +26,8 @@ dnx=dnx
git_status := $(shell git status -s --porcelain |wc -l) git_status := $(shell git status -s --porcelain |wc -l)
all: $(BINTARGETPATH)
rc-num.txt-check: rc-num.txt-check:
ifndef rc_num ifndef rc_num
@echo no rc num ... please, could you try and run 'make rc-num.txt' ?. @echo no rc num ... please, could you try and run 'make rc-num.txt' ?.
@ -76,4 +78,4 @@ deploy-pkg: pack
.PHONY: rc-num.txt-check .PHONY: rc-num.txt-check
.DEFAULT_GOAL := $(BINTARGETPATH) # .DEFAULT_GOAL := $(BINTARGETPATH)