removed Retina weight from webfonts

This commit is contained in:
Nikita Prokopov 2016-07-18 21:14:25 +06:00
parent eef76cac3a
commit d78fd52d68
5 changed files with 21 additions and 8 deletions

View File

@ -1,8 +0,0 @@
#!/bin/bash
mv distr/*.eot distr/eot/ 2> /dev/null
mv distr/*.woff distr/woff/ 2> /dev/null
mv distr/*.woff2 distr/woff2/ 2> /dev/null
mv distr/*.ttf distr/ttf/ 2> /dev/null
mv distr/*.otf distr/otf/ 2> /dev/null
cp distr/otf/*.otf ~/Library/Fonts/

Binary file not shown.

Binary file not shown.

Binary file not shown.

21
release.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/bash
# Remove Retina from webfonts
rm distr/FiraCode-Retina.eot 2> /dev/null
rm distr/FiraCode-Retina.woff 2> /dev/null
rm distr/FiraCode-Retina.woff2 2> /dev/null
# Move to folders
mv distr/*.eot distr/eot/ 2> /dev/null
mv distr/*.woff distr/woff/ 2> /dev/null
mv distr/*.woff2 distr/woff2/ 2> /dev/null
mv distr/*.ttf distr/ttf/ 2> /dev/null
mv distr/*.otf distr/otf/ 2> /dev/null
# Install OTF version
cp distr/otf/*.otf ~/Library/Fonts/
# Pack zip archive
cd distr
find . -not -name ".*" | xargs zip ../FiraCode.zip
cd ..