GitXplorerGitXplorer
o

sprockets_standalone

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
ef56a4d6f6c45a521f76406ef2f277a08479f8e1

updating readme

oorangewise committed 11 years ago
Unverified
29e4dd46541f01f1c96112e2a113e90e2285eb87

ignoring config file

oorangewise committed 11 years ago
Unverified
25263299948a31f34b570710dfbfe5d6fa93ee1f

using yml configuration

oorangewise committed 11 years ago
Unverified
ea7b3f5266b7bfadbc98586dfede82eb3d370943

using yml configuration

oorangewise committed 11 years ago
Unverified
a5928dc7f1347808121f96b7ab7d9b727e58c9ff

adding asset_sync

oorangewise committed 11 years ago
Unverified
b560169209fe7155c1c0db3add923f6450842e6e

formatting dir structure

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
 */