Enagle the given build group for all future
Essentially a convenience method for setting the
SQUIB_BUILD environment variable. See Group Your Builds for ways to use this effectively.
This is a member of the
Squib module, so you must run it like this:
The intended purpose of this method is to be able to alter the environment from other build scripts, such as a Rakefile.
the name of the build group to enable. Convention is to use a Ruby symbol.
Can be used to enable a group, overriding setting the environment variable at the command line:
Squib.enable_build_globally :pdf Squib::Deck.new do build :pdf do save_pdf # this runs regardless of incoming environment end end
But gets overridden by an individual
Squib::Deck programmatically enabling a build via enable_build:
Squib.enable_build_globally :pdf Squib::Deck.new do disable_build :pdf build :pdf do save_pdf # this will NOT be run no matter what end end