Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 801 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 801 Bytes

font-aswsome-upgrade

Helps you upgrade your font-aswsome from 3.x ➡️ 4.x (ruby way). It works well for files with diffrent extname, such as .css,.sass,.haml,.slim, .skim

Using

  • 1 $ git clone git@github.com:songjiayang/font-aswsome-upgrade.git
  • 2 $ cd font-aswsome-upgrade
  • 3 $ ruby upgrade.rb PATH_TO_PROJECT_DIR

How it works

  • 1 Get all the change rules from ./data/changes.json
    1. TransferMachine can transfer old icon to new one.
  • 2 List all the files in PATH_TO_PROJECT_DIR, replace the old icons with the right way.

Thanks