NAME
Test::Smoke::App::SyncTree - Synchronise the perl source tree from a source.
DESCRIPTION
This module synchronises the smoke destination directory with a given source in a given way. The source depends on the synchonisation method.
Synchronisers
The primary synchronisers are:
- git
-
This method will use the git() program to set up a main clone of the
gitorigin
source tree. From this local git repository yet another clone is made into the smoke destination directory. See Test::Smoke::Syncer::Git for details. - rsync
-
This method uses the rsync() program to synchronise the smoke destination directory with a given remote directory/archive
source
, withopts
. - copy
-
This method copies all files in
cdir
/MANIFEST toddir
and removes all files not mentioned in that MANIFEST. See Test::Smoke::SourceTree.
Test::Smoke::App::Syncer->new()
Add a Test::Smoke::Syncer object to the instance.
$syncer->run()
Actually call $self->syncer->sync()
.
COPYRIGHT
(c) 2002-2013, Abe Timmerman <abeltje@cpan.org> All rights reserved.
With contributions from Jarkko Hietaniemi, Merijn Brand, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See:
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.