Make subsetting into a toggle.
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
@@ -40,8 +40,11 @@ htmlfiles=$(find $gendir/ -regex "$gendir/.*\.html")
|
||||
chmod -R u+w $gendir
|
||||
echo $htmlfiles | xargs ${gems}/bin/bundle exec ${ruby}/bin/ruby ./convert.rb --katex-js-file static/katex/katex.min.js
|
||||
echo $htmlfiles | xargs ${gems}/bin/bundle exec ${ruby}/bin/ruby ./agda.rb
|
||||
echo $htmlfiles | xargs ${gems}/bin/bundle exec ${ruby}/bin/ruby ./chatgpt-subset-feather-icon.rb $gendir/feather-sprite.svg
|
||||
echo $htmlfiles | xargs python3 chatgpt-subset-one-go.py $gendir/fonts
|
||||
|
||||
if [ "$subset" = "true" ]; then
|
||||
echo $htmlfiles | xargs ${gems}/bin/bundle exec ${ruby}/bin/ruby ./chatgpt-subset-feather-icon.rb $gendir/feather-sprite.svg
|
||||
echo $htmlfiles | xargs python3 chatgpt-subset-one-go.py $gendir/fonts
|
||||
fi
|
||||
|
||||
# Output result
|
||||
mkdir $out
|
||||
|
||||
Reference in New Issue
Block a user