Sha256: 3104afe90567d4584468337121003b1bf2b6337515e3fe6c0bdb258526bee510

Contents?: true

Size: 603 Bytes

Versions: 2

Compression:

Stored size: 603 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squib-0.11.0 docs/dsl/disable_build.rst
squib-0.10.0 docs/dsl/disable_build.rst