Ricardo SIGNES > Dist-Zilla > Dist::Zilla::App::Command::smoke

Download:
Dist-Zilla-4.300016.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  25
Open  20
View/Report Bugs
Module Version: 4.300016   Source  

NAME ^

Dist::Zilla::App::Command::smoke - smoke your dist

VERSION ^

version 4.300016

SYNOPSIS ^

  dzil smoke [ --release ] [ --author ] [ --no-automated ]

DESCRIPTION ^

This command builds and tests the distribution in "smoke testing mode."

This command is a thin wrapper around the test method in Dist::Zilla. It builds your dist and runs the tests with the AUTOMATED_TESTING environment variable turned on, so it's like doing this:

  export AUTOMATED_TESTING=1
  dzil build --no-tgz
  cd $BUILD_DIRECTORY
  perl Makefile.PL
  make
  make test

A build that fails tests will be left behind for analysis, and dzil will exit a non-zero value. If the tests are successful, the build directory will be removed and dzil will exit with status 0.

OPTIONS ^

--release

This will run the test suite with RELEASE_TESTING=1

--no-automated

This will run the test suite without setting AUTOMATED_TESTING

--author

This will run the test suite with AUTHOR_TESTING=1

AUTHOR ^

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: