On 2015-06-23 20:20:11, brandon.barker@cornell.edu wrote:
Show quoted text> Thanks for the clarifications and suggestions - I looked into 'make dist' a
> bit just now.
>
> I guess my only quibble is that it creates a new directory and/or tar file.
> Ideally I'd like to be able to simply download a tar.gz from github and
> upload that to CPAN. But as you point out, my current method incurs some
> issues.
>
> I can certainly write a quick hack to satisfy both issues, but thought I'd
> write back to see if you had any more seasoned advice on the recommended
> way to accomplish this.
Yes, you do need to create a new local build directory and tarball, in order
to upload it. GitHub does not have the tools installed to create a
distribution tarball that is installable from the CPAN.
This document covers the steps:
http://perldoc.perl.org/perlnewmod.html#Step-by-step:-Distributing-your-module
If you don't like ExtUtils::MakeMaker, there are other packaging tools
available to you. The simplest to use are:
- Module::Build::Tiny (the user-side installer) and App::ModuleBuildTiny (the author-side packaging tool)
- Dist::Milla
Additionally, this documentation will be of use to you:
-
https://pause.perl.org/pause/authenquery?ACTION=pause_04about