From b5dcd025de410b904e1a4de105fdd550f73110a5 Mon Sep 17 00:00:00 2001 From: Eddie Antonio Santos Date: Wed, 2 Oct 2019 13:46:02 -0600 Subject: [PATCH] build.sh always installs deps, even when given -test. --- developer/js/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/developer/js/build.sh b/developer/js/build.sh index eb73400aa6..c804baef62 100755 --- a/developer/js/build.sh +++ b/developer/js/build.sh @@ -26,6 +26,7 @@ display_usage ( ) { echo " -help displays this screen and exits" echo " -version version sets the package version before building" echo " -test runs unit tests after building" + echo " -tdd runs unit tests WITHOUT building" echo " -publish-to-npm publishes the current version to the npm package index" echo " -tier tier also sets the package version tier and npm tag (alpha, beta, stable) before building or publishing" echo " If version has 4 components, only first three are used." @@ -51,6 +52,10 @@ while [[ $# -gt 0 ]] ; do exit ;; -test) + run_tests=1 + install_dependencies=1 + ;; + -tdd) run_tests=1 install_dependencies=0 ;;