How to Build Prototype From the Latest Trunk With Subversion
This assumes you have basic knowledge of Subversion.
- Install a Subversion client. (Windows users should get Tortoise SVN).
- Install Ruby 1.8.2 or higher (http://www.ruby-lang.org/) and Rake —Ruby Make (http://rake.rubyforge.org/).
- Make a new folder and title it “Prototype“.
- Inside of that folder, checkout the latest trunk of Prototype from “http://dev.rubyonrails.org/svn/rails/spinoffs/prototype“.
- Open the README and follow the instructions under “Building Prototype from source”. (Or just view it from Ruby on Rail’s Trac here: “http://dev.rubyonrails.org/browser/spinoffs/prototype/README“). I may have missed something.
- It will have you navigate to the “Prototype” directory from a command prompt, and type “rake dist” which runs the Rake command to build Prototype from the various javascript files.
Now, whenever you see that there are some new changes in Prototype that you’d like, you can do an “svn up” and then do “rake dist” to make prototype.js again.
The navigating to the directory and “rake dist” bit can be automated with a Windows .bat file with these two lines in it.
- cd /d e:workprototype
- rake dist