Porting/sync-with-cpan
perl Porting/sync-with-cpan <module>
where <module> is the name it appears in the %Modules
hash of Porting/Maintainers.pl
Script to help out with syncing cpan distros.
Does the following:
git clean -dfx
)@IGNORE
and EXCLUDED
git add
any new files.git rm
any files that are gone.CUSTOMIZED
make
(assumes a configure has been run)[1] If the --tarball
option is given, then CPAN is not consulted. --tarball
should be the path to the tarball; the version is extracted from the filename -- but can be overwritten by the --version
option.
FILES
This is an initial version; no attempt has been made yet to make this portable. It shells out instead of trying to find a Perl solution. In particular, it assumes wget, git, tar, chmod, perl, make, and rm to be available.