mirror of
https://github.com/tonsky/FiraCode.git
synced 2024-08-17 08:50:47 +03:00
17 lines
354 B
Bash
Executable File
17 lines
354 B
Bash
Executable File
#!/bin/bash -e
|
|
# requires sfnt2woff-zopfli (get from https://github.com/bramstein/homebrew-webfonttools)
|
|
|
|
rm -rf distr/woff
|
|
|
|
ttfs=$(ls distr/*/*.ttf)
|
|
for ttf in $ttfs; do
|
|
sfnt2woff-zopfli $ttf
|
|
done
|
|
|
|
rm distr/ttf/FiraCode-Retina.woff
|
|
|
|
mkdir -p distr/woff
|
|
woffs=$(ls distr/*/*.woff)
|
|
for woff in $woffs; do
|
|
mv $woff distr/woff/$(basename $woff)
|
|
done |