summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-04-17 17:02:59 -0600
committermo khan <mo.khan@gmail.com>2020-04-17 17:02:59 -0600
commit04f399f66e6048beec6bf876d48f4ef3ca8ec775 (patch)
treeda8db4da620dbeb0c9c83b8ef3cdb25b9ca538f7
parentc31b8082e7074a1a25efc4105b3acda5298f98dd (diff)
Print message when tools are getting installed
-rwxr-xr-xrun.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/run.sh b/run.sh
index 8cb4f7b..7d0321c 100755
--- a/run.sh
+++ b/run.sh
@@ -68,9 +68,7 @@ function prepare_dotnet() {
}
function prepare_tools() {
- if asdf current 2> >(grep -q 'is not installed'); then
- echo "No tools to install"
- else
+ if ! asdf current 2> >(grep -q 'is not installed'); then
echo "Installing missing tools…"
asdf install 2>&1
fi
@@ -78,7 +76,6 @@ function prepare_tools() {
function prepare_project() {
if [[ -z ${SETUP_CMD:-} ]]; then
- echo "Preparing project tools/dependencies…"
prepare_tools || true
prepare_javascript || true
prepare_dotnet || true