From 489e9b4593ef29dec109344d81fe9c004c25eede Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Fri, 25 Nov 2022 10:53:08 +0100 Subject: [PATCH 1/2] 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 From 6962dddecd7ecdf5eb1adfe7c7e67625850d4dcc Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Fri, 25 Nov 2022 10:56:54 +0100 Subject: [PATCH 2/2] add build and test targets --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8f29f97..428e3d1 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 + @ ./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 + @ ./test.sh else @- echo "\n### no test script found" endif