diff --git a/DotN64.Desktop/DotN64.Desktop.csproj b/DotN64.Desktop/DotN64.Desktop.csproj index 8411969..aff9d79 100644 --- a/DotN64.Desktop/DotN64.Desktop.csproj +++ b/DotN64.Desktop/DotN64.Desktop.csproj @@ -18,6 +18,7 @@ prompt 4 true + false true @@ -25,6 +26,7 @@ prompt 4 true + false diff --git a/DotN64.Desktop/Makefile b/DotN64.Desktop/Makefile index c87c6e2..6dec805 100644 --- a/DotN64.Desktop/Makefile +++ b/DotN64.Desktop/Makefile @@ -12,8 +12,9 @@ VERSION = $(shell $(OUTPUT_DIRECTORY)/$(OUTPUT_BINARY) --help | head -1 | awk '{ DEPLOY_SERVER := 192.168.1.51 DEPLOY_PATH := /var/www/nabile.duckdns.org/$(PROJECT_NAME)/Download -all: clean - $(COMPILER) /p:Configuration=$(COMPILER_CONFIGURATION) +all: + cd .. && nuget restore + $(COMPILER) .. /p:Configuration=$(COMPILER_CONFIGURATION) chmod +x $(OUTPUT_DIRECTORY)/$(OUTPUT_BINARY) deploy: all @@ -22,7 +23,4 @@ deploy: all cd $(OUTPUT_DIRECTORY) && zip -r - . | ssh $(DEPLOY_SERVER) 'cat > $(DEPLOY_PATH)/$(BRANCH_NAME)/$(PROJECT_NAME).zip' echo $(VERSION) | ssh $(DEPLOY_SERVER) 'cat > $(DEPLOY_PATH)/$(BRANCH_NAME)/version' -clean: - $(COMPILER) /t:Clean /p:Configuration=$(COMPILER_CONFIGURATION) - -.PHONY: all deploy clean +.PHONY: all deploy