mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2025-02-21 01:51:18 +00:00
Disable color output in build script
This commit is contained in:
parent
4d2a946cd4
commit
b52d47aaa5
@ -6,19 +6,6 @@ echo "# building examples"
|
||||
echo "##"
|
||||
echo ""
|
||||
|
||||
# Reset
|
||||
Color_Off='\033[0m' # Text Reset
|
||||
|
||||
# Regular Colors
|
||||
Black='\033[0;30m' # Black
|
||||
Red='\033[0;31m' # Red
|
||||
Green='\033[0;32m' # Green
|
||||
Yellow='\033[0;33m' # Yellow
|
||||
Blue='\033[0;34m' # Blue
|
||||
Purple='\033[0;35m' # Purple
|
||||
Cyan='\033[0;36m' # Cyan
|
||||
White='\033[0;37m' # White
|
||||
|
||||
containsElement () {
|
||||
local e match="$1"
|
||||
shift
|
||||
@ -35,10 +22,10 @@ for f in *; do
|
||||
if [ -d "$f" ]; then
|
||||
|
||||
if containsElement "$f" "${skippedExamples[@]}"; then
|
||||
echo "${Yellow}skipping '$f'${Color_Off}"
|
||||
echo "skipping '$f'"
|
||||
echo ""
|
||||
else
|
||||
echo "${Blue}building '$f'${Color_Off}"
|
||||
echo "building '$f'"
|
||||
cd "$f"
|
||||
echo " - running pandoc build script"
|
||||
bash "$PWD/build.sh"
|
||||
|
Loading…
x
Reference in New Issue
Block a user