Sorauta-SVN-Updater version 0.01
============================
The README is used to introduce the module and provide instructions on
how to install the module, any machine dependencies it may have (for
example C compilers and installed libraries) and any other information
that should be provided before the module is installed.
A README file is required for CPAN modules since CPAN extracts the
README file from a module distribution so that people browsing the
archive can use it get an idea of the modules uses. It is usually a
good idea to provide version information here so that people can
decide whether fixes for the module are worth downloading.
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
HOW TO USE
basic use:
use Sorauta::SVN::Updater;
my $WORK_DIR_PATH = '/Users/user/Desktop/hogehoge';
my $OS = "Mac"; # or Win
my $REPOSITORY_URL = 'http://svn_url/path/to';
my $TMP_DIR_PATH = '/Users/user/Desktop/hogehoge_tmp';
my $DEBUG = 1;
# svn update test
{
Sorauta::SVN::Updater->new({
os => $OS,
repository_url => $REPOSITORY_URL,
work_dir_path => $WORK_DIR_PATH,
tmp_dir_path => $TMP_DIR_PATH,
debug => $DEBUG,
})->execute;
}
DEPENDENCIES
This module requires these other modules and libraries:
SVN::Agent
SVN::Agent::Dummy
File::Copy::Recursive
Sorauta::Utility
COPYRIGHT AND LICENCE
Put the correct copyright and licence information here.
Copyright (C) 2012 by Yuki ANAI
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.12.3 or,
at your option, any later version of Perl 5 you may have available.