From be44455b7ab24f89c98f1ead74acdb279e1a3a9e Mon Sep 17 00:00:00 2001 From: MSFTserver Date: Fri, 8 Sep 2017 23:46:26 -0700 Subject: [PATCH] added color to echo's to stand out more --- build/build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/build.sh b/build/build.sh index 92c2c5e8f..f73230469 100755 --- a/build/build.sh +++ b/build/build.sh @@ -14,7 +14,7 @@ if [ "$(uname)" == "Darwin" ]; then elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then LINUX=true else - echo "Platform detection failed" + echo -e "\033[1;31mPlatform detection failed\x1b[m" exit 1 fi @@ -90,7 +90,7 @@ if [[ ! -f $DAEMON_VER_PATH || ! -f $ROOT/app/dist/lbrynet-daemon || "$(< "$DAEM rm "$BUILD_DIR/daemon.zip" echo "$DAEMON_VER" > "$DAEMON_VER_PATH" else - echo "Already have daemon version $DAEMON_VER, skipping download" + echo -e "\033[4;31mAlready have daemon version $DAEMON_VER, skipping download\x1b[m" fi @@ -133,7 +133,7 @@ if [ "$FULL_BUILD" == "true" ]; then deactivate - echo 'Build and packaging complete.' + echo -e '\033[0;32mBuild and packaging complete.\x1b[m' else - echo 'Build complete. Run `./node_modules/.bin/electron app` to launch the app' + echo -e 'Build complete. Run \033[1;31m./node_modules/.bin/electron app\x1b[m to launch the app' fi