Last active
April 30, 2016 08:10
-
-
Save mfo/5c44a976d572c25060c4715f87d2a3cd to your computer and use it in GitHub Desktop.
wip: extract all uniq font awesome
This file contains 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
grep -r "fa-" \ | |
--include=\*.{rb,haml,jst,js} \ | |
--exclude=\*xregexp\* \ | |
--exclude-dir={public,.//app/assets/javascripts/i18n,.//app/assets/javascripts/i18n/web} \ | |
./ \ | |
> icons.txt | |
ruby -e 'File.read("./icons.txt").scan(/(fa(?:-\w+)+)/).flatten.uniq' | |
#TODO: custom build via font fontello_rails_converter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment