项目作者: songjiayang

项目描述 :
Helps you upgrade font-aswsome from 3.x :arrow_right: 4.x (ruby way)
高级语言: Ruby
项目地址: git://github.com/songjiayang/font-aswsome-upgrade.git
创建时间: 2015-05-05T08:03:51Z
项目社区:https://github.com/songjiayang/font-aswsome-upgrade

开源协议:

下载


font-aswsome-upgrade

Helps you upgrade your font-aswsome from 3.x :arrow_right: 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