Client Library for the AHAB asset packaging system: ahab.io.
- Command-Line Interface
Ahab::ClientRuby APIAhab::TaskRake task to fetch assets
Ahab::GuardGuard recipe to fetch assets- Asset registries
- Optimistic version matching
Ahab depends on an ahab.json file in your project's root directory. Its
structure looks like this:
{
"assets": [
{
"url": "http://cdnjs.cloudflare.com/ajax/libs/960gs/0/960.css"
},
{
"url": "http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.js",
"filename": "jQuery.js"
}
]
}Run ahab fetch once you have your ahab.json set up.
Usage:
namespace :assets do
Ahab::FetchTask.new(:fetch)
endrake assets:fetch