Add colored printf echos

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

View file

@ -1,6 +1,16 @@
#!/bin/bash
YEL='\033[1;33m' # Yellow
printf "\n" &&
printf "${YEL}Creating build output directory...\n" &&
tput sgr0 &&
mkdir -v -p $HOME/chromium/src/out/thorium/ &&
printf "\n" &&
printf "${YEL}Copying source files over Chromium tree...\n" &&
tput sgr0 &&
cp -r -v build/. $HOME/chromium/src/build/ &&
cp -r -v chrome/. $HOME/chromium/src/chrome/ &&
@ -18,6 +28,22 @@ cp -r -v content_shell/. $HOME/chromium/src/out/thorium/ &&
cp -r -v pak_src/bin/pak $HOME/chromium/src/out/thorium/ &&
cp -r -v pak_src/bin/pak-win/. $HOME/chromium/src/out/thorium/ &&
printf "${YEL}Done!\n" &&
printf "\n" &&
printf "${YEL}Setting NINJA_SUMMARIZE_BUILD=1 and aliases to download the PGO Profiles for supported targets, and the gsync alias.\n" &&
printf "\n" &&
printf "${YEL}Dropping you to ~/chromium/src.\n" &&
printf "\n" &&
printf "${YEL}Look in this file to see the aliases and what they're for.\n" &&
printf "\n" &&
printf "${YEL}Enjoy Thorium!\n" &&
printf "\n" &&
tput sgr0 &&
cd $HOME/chromium/src &&
export NINJA_SUMMARIZE_BUILD=1 &&