Bamboo is a little Ruby script to reorganize Dojo Toolkit assets. It's designed to reorganize correctly assets for a Ruby on Rails structure for the dojo-rails gem since Rails needs to seperate stylesheets, javascripts and images. The script is pretty simple but needs some dependencies. To install them, just run
$ gem install path rubyzip progressbar
Then just clone the gist (the Ruby code) and execute the script. You need to specify an archive or a folder to reorganize :
$ wget http://download.dojotoolkit.org/release-1.8.3/dojo-release-1.8.3.zip
Then execute the script :
$ bamboo -z dojo-release-1.8.3.zip
You can also specify a folder instead of an archive
$ bamboo -f dojo-release
The code is a little bit crappy because very simple but feel free to improve this gist to help us improve dojo-rails
. The code is licensed under the MIT license. See dojo-rails's repo's README.