You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
575 B
28 lines
575 B
disable_build |
|
============= |
|
|
|
Disable the given build group for the rest of the build. Thus, code within the corresponding :doc:`/dsl/group` block will not be executed. See :doc:`/build_groups` for ways to use this effectively. |
|
|
|
|
|
Required Arguments |
|
------------------ |
|
|
|
build_group_name |
|
default: ``:all`` |
|
the name of the group to disable. Convention is to use a Ruby symbol. |
|
|
|
.. note:: |
|
|
|
|
|
|
|
Examples |
|
-------- |
|
|
|
Can be used to disable a group (even if it's enabled via command line):: |
|
|
|
Squib::Deck.new do |
|
disable_build :pnp |
|
build :pnp do |
|
save_pdf |
|
end |
|
end
|
|
|