|
|
|
@@ -31,9 +31,10 @@ end |
|
|
|
task :dojo do |
|
|
|
print "Packaging for dojo\n" |
|
|
|
source = "mustache-dojo" |
|
|
|
target_js = "dojo.mustache.js" |
|
|
|
`cat #{source}/#{target_js}.tpl.pre mustache.js #{source}/#{target_js}.tpl.post > #{target_js}` |
|
|
|
print "Done, see ./#{target_js}\n" |
|
|
|
target_js = "mustache.js" |
|
|
|
`mkdir -p dojox; mkdir -p dojox/string` |
|
|
|
`cat #{source}/#{target_js}.tpl.pre mustache.js #{source}/#{target_js}.tpl.post > dojox/string/#{target_js}` |
|
|
|
print "Done, see ./dojox/string/#{target_js} Include using dojo.require('dojox.string.mustache.'); \n" |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|