Skip to content

Instantly share code, notes, and snippets.

@mfo
Last active April 30, 2016 08:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
wip: extract all uniq font awesome
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