diff --git a/distr.sh b/distr.sh deleted file mode 100755 index ccd5c68..0000000 --- a/distr.sh +++ /dev/null @@ -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/ \ No newline at end of file diff --git a/distr/eot/FiraCode-Retina.eot b/distr/eot/FiraCode-Retina.eot deleted file mode 100644 index 093150b..0000000 Binary files a/distr/eot/FiraCode-Retina.eot and /dev/null differ diff --git a/distr/woff/FiraCode-Retina.woff b/distr/woff/FiraCode-Retina.woff deleted file mode 100644 index f1dbf90..0000000 Binary files a/distr/woff/FiraCode-Retina.woff and /dev/null differ diff --git a/distr/woff2/FiraCode-Retina.woff2 b/distr/woff2/FiraCode-Retina.woff2 deleted file mode 100644 index 5fd38ba..0000000 Binary files a/distr/woff2/FiraCode-Retina.woff2 and /dev/null differ diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..184f7c9 --- /dev/null +++ b/release.sh @@ -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 ..