mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 11:27:32 -03:00
Add colored printf echos
This commit is contained in:
parent
303dba7b43
commit
d50f05f9a9
1 changed files with 26 additions and 0 deletions
26
setup.sh
26
setup.sh
|
@ -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 &&
|
||||
|
|
Loading…
Reference in a new issue