From 489e9b4593ef29dec109344d81fe9c004c25eede Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Fri, 25 Nov 2022 10:53:08 +0100 Subject: [PATCH] add build and test targets --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index eb52d19..8f29f97 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ deploy: build test upload pre-deploy pre-local pull start post-local post-deploy build: ifneq (,$(wildcard build.sh)) @- echo "\n### running build script" - @- ./build.sh || (echo "### build failed $$?"; exit 1) + ./build.sh else @- echo "\n### no build script found" endif @@ -25,7 +25,7 @@ endif test: ifneq (,$(wildcard test.sh)) @- echo "\n### running test script" - @- ./test.sh || (echo "### test failed $$?"; exit 1) + ./test.sh else @- echo "\n### no test script found" endif