GitXplorerGitXplorer
o

sprockets_standalone

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
442d385e04044fa9775bdc4cbde3bdd1adc68169

added html5sjiv.js

oorangewise committed 11 years ago
Unverified
8cf733669b7478595db89d4f0c3ab6bc8578c45a

updating readme

oorangewise committed 11 years ago
Unverified
9ff7d12dc4cf91a6d2fef579daed20dd95ae82ac

updating readme

oorangewise committed 11 years ago
Unverified
1687ed044269721043e0a6ea9d667a642cef73d8

adding task for processing images, plus a combined task to do all in 1 go.

oorangewise committed 11 years ago
Unverified
ca3f12beb40514e8ed181ac62b1bee950b6eee79

cleaning up

oorangewise committed 11 years ago
Unverified
76ec59699c5668ab292461c1c336ff0f94460395

updating readme

oorangewise committed 11 years ago

README

The README file for this repository.

Sprockets Standalone

Using Sprockets and AssetSync standalone, so it can be used in combination with a PHP website :)

Based on http://www.simonecarletti.com/blog/2011/09/using-sprockets-without-a-railsrack-project/

Usage

bundle exec rake sprockets:compile environment=dev

or

bundle exec rake sync:assets environment=dev

Directory structure

.
├── sprockets_standalone
|		└── config
|       └── asset_sync.yml
|		├── Gemfile
|		├── Gemfile.lock
|		└── Rakefile
└── assets
		├── dev
		|   └── build
		│        ├── javascripts
		│        │   └── all.js
		│        └── stylesheets
		│            └── all.css
		├── test
		|   └── build
		|        ├── ...
		|        .
		├── production
		|   └── build
		|        ├── ...
		|        .
		└── src
		    ├── images
		    │   └── ...
		    ├── javascripts
		    │   └── all.js
		    |   └── jquery
		    |       └── jquery-1.10.2.min.js
		    └── stylesheets
		        └── all.css

Example all.js

//= require jquery/jquery-1.10.2.min

Example all.css

/*
 *= require bootstrap/index
 */