31 lines
727 B
Bash
Executable file
31 lines
727 B
Bash
Executable file
#!/bin/bash
|
|
|
|
./deps.sh
|
|
|
|
function soup_config {
|
|
rm soupault.toml
|
|
cp ../soupault.toml soupault.toml
|
|
cat soupault.toml.frag* >> soupault.toml
|
|
}
|
|
|
|
source ./pgvv/bin/activate
|
|
|
|
find acl.cool/site/ ytheleus.org/site/ -type f \( -name '*.dj' -o -name '*.html' \) -exec cat {} + > all_chars.txt
|
|
for font in fonts/JuliaMono/*{-Light,-Regular,-SemiBold}{,Italic}.woff2; do
|
|
pyftsubset "$font" --flavor=woff2 --text-file=all_chars.txt \
|
|
--output-file="$(awk -F '.woff2' '{print $1}' <<< "$font")-Subset.woff2"
|
|
done
|
|
|
|
rm css/code.css
|
|
pygmentize -f html -S algol_nu | grep -v 'line-height' > css/code.css
|
|
|
|
builtin pushd acl.cool
|
|
soup_config
|
|
soupault
|
|
popd
|
|
builtin pushd ytheleus.org
|
|
soup_config
|
|
soupault
|
|
popd
|
|
|
|
deactivate
|