From 0ae99e03ec16b0b3a6150e2449df6f22ee88b291 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Sun, 3 Oct 2010 11:20:07 +0200 Subject: [PATCH] Document `rake` build targets --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 32a4de2..deda933 100644 --- a/README.md +++ b/README.md @@ -284,3 +284,27 @@ Or just install it as a RubyGem: [m]: http://github.com/defunkt/mustache/#readme [node.js]: http://nodejs.org [couchdb]: http://couchdb.apache.org + + +## Plugins for jQuery, Dojo, Yui, CommonJS + +This repository lets you build modules for [jQuery][], [Dojo][], [Yui][] and +[CommonJS][] / [Node.js][] with the help of `rake`: + +Run `rake jquery` to get a jQuery compatible plugin file in the +`mustache-jquery/` directory. + +Run `rake dojo` to get a Dojo compatible plugin file in the `mustache-dojo/` +directory. + +Run `rake yui` to get a Yui compatible plugin file in the `mustache-yui/` +directory. + +Run `rake commonjs` to get a CommonJS compatible plugin file in the +`mustache-commonjs/` directory which you can also use with [Node.js][]. + +[jQuery]: http://jquery.com/ +[Dojo]: http://www.dojotoolkit.org/ +[Yui]: http://developer.yahoo.com/yui/ +[CommonJS]: http://www.commonjs.org/ +[Node.js]: http://nodejs.org/