From 6d2c23312eef409658a3eb022b810e8b3e7bdec5 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Thu, 8 Jun 2017 11:43:30 +0200 Subject: [PATCH] Git status --- Yavsc/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Yavsc/Makefile b/Yavsc/Makefile index 93970b47..19a4bdf9 100644 --- a/Yavsc/Makefile +++ b/Yavsc/Makefile @@ -34,5 +34,9 @@ pushInProd: bin/output/wwwroot/version ssh root@localhost systemctl start kestrel status: - git status -s --porcelain +ifeq ($(git status -s --porcelain |wc -l),'0') + @echo oui +else + @echo non +endif