1
1
mirror of https://github.com/tonsky/FiraCode.git synced 2024-08-16 16:30:25 +03:00
FiraCode/release.sh

22 lines
562 B
Bash
Raw Normal View History

2016-11-05 22:42:10 +03:00
#!/bin/bash -x
2016-07-18 18:14:25 +03:00
# 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 ..