README.md in assetify-0.0.2 vs README.md in assetify-0.1.1

- old
+ new

@@ -20,26 +20,58 @@ This will create a Jsfile if not found. Jsfile ------- +====== Just like a Gemfile, but you choose the filetype before: type "name", "url", <version> 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. -Options: - newname true || false - jspath "new/path" - csspath "new/path" - imgpath "new/path" +Groups +------ + +When using some compressor/minimizer (Jammit/Smurf...) namespaces come +in handy: + + group "forms" do + js "validator", "link" + end + + +This will install as "public/javascripts/forms/validator.js" + + +Pkgs +---- + +Big projects makes you download tons of files for some .min files and css. + + pkg "fancy", "http://to.tgz.or.zip" do + js "cool", "internal/js/cool" + css "cool", "internal/css/cool" + end + +This downloads and 'cherry pick' the files. + + + +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"