Class | Buildr::Options |
In: |
lib/buildr/core/build.rb
(CVS)
lib/buildr/core/environment.rb (CVS) lib/buildr/core/compile.rb (CVS) lib/buildr/core/test.rb (CVS) |
Parent: | Object |
parallel | [RW] |
Runs the build in parallel when true (defaults to false). You can force a
parallel build by setting this option directly, or by running the parallel
task ahead of the build task.
This option only affects recursive tasks. For example: buildr parallel package will run all package tasks (from the sub-projects) in parallel, but each sub-project‘s package task runs its child tasks (prepare, compile, resources, etc) in sequence. |
Sets the debug option (environment variable DEBUG).
You can turn this option off directly, or by setting the environment variable DEBUG to no. For example:
buildr build DEBUG=no
The release tasks runs a build with DEBUG=no.
Returns the proxy options. Currently supported options are:
For example:
options.proxy.http = 'http://proxy.acme.com:8080'
You can also set it using the environment variable HTTP_PROXY.
You can exclude individual hosts from being proxied, or entire domains, for example:
options.proxy.exclude = 'optimus' options.proxy.exclude = ['optimus', 'prime'] options.proxy.exclude << '*.internal'
Sets the test option (environment variable TEST). Possible values are true, false or :all.
You can also set this from the environment variable, e.g.:
buildr # With tests buildr test=no # Without tests buildr test=all # Ignore failures set TEST=no buildr # Without tests