On Unix
- Install Ruby 1.8.1 (or preferably a preview to 1.8.2 as there is a bug in Yaml that causes segmentation fault on 1.8.1, for more info see [here]).
On Windows
- Install Cygwin, the following packages needs to be installed: ruby, cvs and crypt. To be sure install most packages from the Devel category.
- To build an installer you need to install NSIS: http://nsis.sourceforge.net/
Building
The build scripts are located in the build.rb file. There are a number of targets you can use:
- ./build.rb test will run the unit tests and the complete integration tests..
- ./build.rb dist will build a distribution into target/dist.
- ./build.rb dist -Ddist_dir=<dist directory> will build a distribution into the specified dist directory.
- ./build.rb installer -Druby_home=<path to ruby installation> -Dcvs_executable=<path to cvs installation> will build an installer. The paths to the ruby installation and the cvs executable needs to be absolute windows paths with backslashes doubled.
Labels
(None)
