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