mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 19:37:30 -03:00
Add colored echos
This commit is contained in:
parent
fd9eedccff
commit
303dba7b43
1 changed files with 14 additions and 4 deletions
18
trunk.sh
18
trunk.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue