From 15d050c8f9f6ec14ba29e2a6656b4633ff6210df Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Thu, 8 Jun 2017 17:16:34 +0200 Subject: [PATCH] Better to see commands here --- Yavsc/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Yavsc/Makefile b/Yavsc/Makefile index 47a673f1..12d39ea1 100644 --- a/Yavsc/Makefile +++ b/Yavsc/Makefile @@ -33,11 +33,11 @@ bin/output/wwwroot/version: bin/output @git log -1 --pretty=format:%h > bin/output/wwwroot/version pushInPre: bin/output/wwwroot/version - @ssh root@localhost systemctl stop kestrel-pre - @ssh root@localhost rm -rf $(DESTDIR)/approot - @(cd bin/output && rsync -ravu ./ root@localhost:$(DESTDIR) >/dev/null) - @ssh root@localhost sync - @ssh root@localhost systemctl start kestrel-pre + ssh root@localhost systemctl stop kestrel-pre + ssh root@localhost rm -rf $(DESTDIR)/approot + (cd bin/output && rsync -ravu ./ root@localhost:$(DESTDIR) >/dev/null) + ssh root@localhost sync + ssh root@localhost systemctl start kestrel-pre pushInProd: bin/output/wwwroot/version ifeq ($(git_status),0)