cache supported lexers for pygments
This commit is contained in:
parent
af97adacbe
commit
fba9f88956
6 changed files with 10 additions and 5 deletions
5
build.sh
5
build.sh
|
@ -18,6 +18,11 @@ function soup_config {
|
|||
|
||||
source ./pgvv/bin/activate
|
||||
|
||||
if ! [[ -f lexers.out ]] || [[ "$(head -1 lexers.out)" != "$(pygmentize -V)" ]]; then
|
||||
pygmentize -L lexer >lexers.out
|
||||
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
|
||||
cat common_chars.txt >>all_chars.txt
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue