diff --git a/.gitignore b/.gitignore index 84c7f0f..8b0c3b1 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ woff2/ fonts/*trial **/*.log **/*.cache +**/local_special.sh diff --git a/build.sh b/build.sh index eebf4cb..e8b2cd7 100755 --- a/build.sh +++ b/build.sh @@ -31,7 +31,7 @@ if ! [[ -f lexers.out ]] || [[ "$(head -1 lexers.out)" != "$(pygmentize -V)" ]]; echo "Created pygments lexer cache at lexers.out" fi -find acl.cool/site/ ytheleus.org/site/ -type f \( -name '*.dj' -o -name '*.html' \) -exec cat {} + >all_chars.txt +find */site/ -type f \( -name '*.dj' -o -name '*.html' \) -exec cat {} + >all_chars.txt cat common_chars.txt >>all_chars.txt for font in fonts/LiterataTT/LiterataTT-Subhead{Regular,Italic,Semibold,SemiboldItalic,Bold,BoldItalic}.woff2 \ @@ -102,6 +102,9 @@ for site in acl.cool ytheleus.org dembim.foo; do for d in $CUR_DIR; do rm -r $d done + if [ -e ./local_special.sh ]; then + ./local_special.sh + fi popd done