Created
October 16, 2016 17:05
-
-
Save tphdev/3c2cee3396c490a7a987dfa9e97146bd to your computer and use it in GitHub Desktop.
get-fonts.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ./css/fonts | |
FONTS_ARRAY=(eot svg ttf woff woff2) | |
for font_ext in "${FONTS_ARRAY[@]}" | |
do | |
echo downloading $font_ext | |
curl https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/fonts/fontawesome-webfont.${font_ext}?raw=true > ./css/fonts/fontawesome-webfont.${font_ext} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment