Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Rex Module for Git/SVN Control

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 debian
Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 MANIFEST.SKIP
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README.pod
README.pod

Rex::SCM

This is a Rex Module for SCM access (like git, svn, ...).

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/ ];
 };
Something went wrong with that request. Please try again.