项目作者: eddanger

项目描述 :
Asset Pipeline (Sprockets) without the Rails
高级语言: Ruby
项目地址: git://github.com/eddanger/static-asset-pipeline.git
创建时间: 2012-05-04T01:04:10Z
项目社区:https://github.com/eddanger/static-asset-pipeline

开源协议:

下载


Static Asset Pipeline

Now your static CSS and Javascript pages can have the power of Sprockets!

Just a simple rake task and some choice gems and you can have the
structure of the Rails Asset Pipeline without the Rails.

Structure your assets

  1. ├── Gemfile
  2. ├── Gemfile.lock
  3. ├── Rakefile
  4. ├── assets
  5. ├── javascripts
  6. └── application.js
  7. └── friday.js.coffee
  8. ├── stylesheets
  9. └── application.css
  10. └── hello.css.less
  11. ├── public
  12. ├── css
  13. └── application.js
  14. ├── js
  15. └── application.js

Bundle your Gems

bundle install

Compile your assets

rake assets:compile

Rejoice!

Your compiled assets will be in your /public folder ready to do your bidding…