« Prev 4.6 Extending Rscons | Table of Contents | Next » 4.6.2.1 Adding a Custom Builder to an Environment |
It is also possible to extend Rscons with new builders. This is the most flexible method to extend Rscons. Builders can execute a command line program, call another builder, or just use plain Ruby code to produce an output file.
A builder is a class that inherits from the Rscons::Builder
base class.
Rscons provides a Rscons::Builders
namespacing module which contains the
built-in builder classes.
User-provided custom builder classes can also reside in the Rscons::Builders
namespacing module, but this is not required.
« Prev 4.6 Extending Rscons | Table of Contents | Next » 4.6.2.1 Adding a Custom Builder to an Environment |