-
Notifications
You must be signed in to change notification settings - Fork 148
How To Build
rollynoel edited this page Jun 18, 2013
·
7 revisions
Added by Rodrigo B. de Oliveira
![info](http://docs.codehaus.org/s/en_GB/3278/15/_/images/icons/emoticons/information.png) There's always an up to date build in the bin/ directory of the distribution.
Pre-requisites
In order to (re)build boo you are going to need to have the following tools already installed:
An up to date version of the Nant build tool (currently at version 0.85rc2)
a Java virtual machine (for ANTLR)
.NET 3.5 SDK or Mono.
Download the Source
Either:
download a stable distribution from Download
or
check out an unstable version from Sourceby running
git clone http://github.com/bamboo/boo.git boo
which will retrieve boo from Git into a newly created boo subdirectory.
Building the Source: nant targets
Boo uses the nant buildfile default.build to provide the following nant targets which can be used to build, rebuild, test, install and clean the boo project. This is done to make it as easy as possible for users to perform these automated tasks. All you have to do is go into your newly downloaded boo directory and start invoking nant with different targets, its easy:
open a console window or terminal to the boo directory
to build the project type:
nant
to rebuild everything from scratch including regenerating the parser and AST classses type:
nant rebuild
to run the unit tests type:
nant test
to update the binaries in the bin folder:
nant update-bin
(warning) on mono the unit tests must be executed directly from the command line:
nant compile-tests && nunit-console tests/build/*Tests.dll