Add colored echos

This commit is contained in:
Alexander David Frick 2022-04-09 03:10:20 -05:00 committed by GitHub
parent fd9eedccff
commit 303dba7b43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,10 @@
#!/bin/bash
echo "Rebasing/Syncing and running hooks..." &&
YEL='\033[1;33m' # Yellow
printf "\n" &&
printf "${YEL}Rebasing/Syncing and running hooks...\n" &&
tput sgr0 &&
cd $HOME/chromium/src/v8/ &&
@ -18,9 +22,12 @@ gclient sync --with_branch_heads --with_tags -f -R -D &&
gclient runhooks &&
echo "Done!" &&
printf "${YEL}Done!\n" &&
printf "\n" &&
echo "Downloading PGO Profiles for Linux, Windows, and Mac..." &&
printf "${YEL}Downloading PGO Profiles for Linux, Windows, and Mac...\n" &&
printf "\n" &&
tput sgr0 &&
python tools/update_pgo_profiles.py --target=linux update --gs-url-base=chromium-optimization-profiles/pgo_profiles &&
@ -28,6 +35,9 @@ python tools/update_pgo_profiles.py --target=win64 update --gs-url-base=chromium
python tools/update_pgo_profiles.py --target=mac update --gs-url-base=chromium-optimization-profiles/pgo_profiles &&
echo "Done! You can now run ./setup.sh."
printf "\n" &&
printf "${YEL}Done! You can now run ./setup.sh.\n"
tput sgr0
exit 0