README.md in assetify-0.1.1 vs README.md in assetify-0.2.1
- old
+ new
@@ -24,11 +24,11 @@
Jsfile
======
Just like a Gemfile, but you choose the filetype before:
- type "name", "url", <version>
+ type "name", "url", <"version"> or <:options>
js "jquery", "http://code.jquery.com/jquery-{VERSION}.min.js", "1.6"
js "tipsy", "https://github.com/jaz303/tipsy/.../jquery.tipsy.js"
Now just run assetify to make sure everything is installed/up-to-date.
@@ -60,25 +60,39 @@
This downloads and 'cherry pick' the files.
+Other
+-----
+
+Set a different location per file:
+
+
+ js "other", "http://lib.../other.js", :to => "different/path"
+
+Filename will be: ./different/path/other.js
+This works for namespaces too, change "to" with "ns".
+
+
+
Options
-------
Change some default settings:
newname true || false
jspath "public/javascripts"
csspath "public/stylesheets"
imgpath "public/images"
-
If newname is set to true (default) the file will be renamed. Ex:
js "validator", "http//.../jquery.validator.min.js"
Filename will be: "validator.js"
+
+
Contributing
------------