Defining a project#

To start, create a beaver.rb script file in the root of your repository.

In order to define targets, you need to define a project in which these targets will reside.

To create a beaver project:

Project(name: "MyProject")

All paths will be resolved based on the project’s base directory, by default this is the location of the beaver.rb script. To set another base directory, you can use the base_dir argument.

Project(name: "MyProject", base_dir: "./MyProject")

See also

API reference Project