资源说明:Rex Module for Git/SVN Control
=pod
=head2 Rex::SCM
This is a Rex Module for SCM access (like git, svn, ...).
=head2 Example
Rexfile:
use Rex::SCM;
use Rex::Commands::Rsync;
group static => 'static01', 'static02';
repository 'static', url => 'git@my-git-server.local',
type => 'git';
task 'checkout', sub {
checkout 'static', 'checked-out-branch',
branch => 'stable';
};
task 'sync', group => 'static', sub {
sync 'static/*', '/var/www/html';
};
task 'deploy', sub {
do_task [ qw/checkout sync/ ];
};
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
