Name¶
App::Sqitch::Command::bundle - Bundle Sqitch changes for distribution
Synopsis¶
my $cmd = App::Sqitch::Command::bundle->new(%params);
$cmd->execute;
Description¶
Bundles a Sqitch project for distribution. Done by creating a new directory and
copying the configuration file, plan file, and change files into it.
Interface¶
Attributes¶
"from"
Change from which to build the bundled plan.
"to"
Change up to which to build the bundled plan.
Instance Methods¶
"execute"
$bundle->execute($command);
Executes the "bundle" command.
"bundle_config"
$bundle->bundle_config;
Copies the configuration file to the bundle directory.
"bundle_plan"
$bundle->bundle_plan;
Copies the plan file to the bundle directory.
"bundle_scripts"
$bundle->bundle_scripts;
Copies the deploy, revert, and verify scripts for each step in the plan to the
bundle directory. Files in the script directories that do not correspond to
changes in the plan will not be copied.
See Also¶
- sqitch-bundle
- Documentation for the "bundle" command to the Sqitch
command-line client.
- sqitch
- The Sqitch command-line client.
Author¶
David E. Wheeler <david@justatheory.com>
License¶
Copyright (c) 2012-2014 iovation Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.