From da03b85b9c000b64d2733c491c0050f12e637275 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Mon, 2 May 2022 18:05:12 +0200 Subject: [PATCH] created install & test flag This flag basically does the same as 'install' and 'test' combined :D --- build.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index bc2c696..263b4c6 100644 --- a/build.sh +++ b/build.sh @@ -94,10 +94,15 @@ elif [[ "$1" == "install" ]]; then ########## INSTALL ########## ### rm -rf *.o -else ########## ERR ########## - ### - echo "You have to enter 'test' or 'install' as arguments." - ### +else ########## ELSE ########## + if [[ "$1" == "installTest" ]]; then ########## INSTALL & TEST ########## + ./build.sh install + ./build.sh test + else ########## ERR ########## + ### + echo "You have to enter 'test' or 'install' as arguments." + ### - exit 1 + exit 1 + fi fi \ No newline at end of file