From 7c955194026b687de47d032388a81011fc93a50a Mon Sep 17 00:00:00 2001 From: shockrah Date: Wed, 30 Dec 2020 00:13:18 -0800 Subject: [PATCH] + Adding option to test everything including cargo and client tests --- server-api/build.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/server-api/build.sh b/server-api/build.sh index 1a85f71..330d45c 100755 --- a/server-api/build.sh +++ b/server-api/build.sh @@ -4,6 +4,7 @@ _help() { cat < /dev/null + if [ ! -z $full ];then + cargo test $release_opt + fi } -while getopts ":htTbr" arg; do +while getopts ":fhtTbr" arg; do case ${arg} in + f) full=true;; h) echo help command;; t) testing;; T) testing --release;;