Skip to content

How To Build

Nathaniel Sabanski edited this page Jan 20, 2016 · 7 revisions

Added by Rodrigo B. de Oliveira

Boo always come PRE-BUILT

info 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:

Download the Source

Either:

  • download a stable distribution from Download or

  • check out an unstable version from Source by 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
Clone this wiki locally