On Mon, Apr 24, 2017 at 12:18 PM, sri <[email protected]> wrote: > Perhaps sri wouldn't mind if you packaged up his code and released it to >> CPAN?? >> > > Not at all. >
Great! iaw, I have built a dist <https://github.com/s1037989/Mojolicious-Plugin-Mojolyst> and released it to CPAN (should be available in a few hours). Hopefully I did it alright! :O FYI, I think this is my full list of steps to create and ship this module to CPAN. There are many ways to build a CPAN module including completely manually (in which case use Mojolicious' cpanify <http://mojolicious.org/perldoc/Mojolicious/Command/cpanify>), I prefer to use jhthorsen's App::git::ship <https://github.com/jhthorsen/app-git-ship>. $ cpanm App::git::ship $ $EDITOR ~/.pause <http://search.cpan.org/~rjbs/CPAN-Uploader-0.103013/lib/CPAN/Uploader.pm> user xxx password xxx $ mojo generate plugin <http://mojolicious.org/perldoc/Mojolicious/Command/generate/plugin> Mojolyst $ cd Mojolicious-Plugin-Mojolyst $ $EDITOR Mojolicious-Plugin-Mojolyst/lib/Mojolicious/Plugin/Mojolyst.pm ... $ $EDITOR t/basic.t ... $ $EDITOR .ship.conf <http://search.cpan.org/~jhthorsen/App-git-ship-0.22/lib/App/git/ship.pm#DESCRIPTION> class = App::git::ship::perl license = artistic_2 $ $EDITOR cpanfile <http://search.cpan.org/~miyagawa/Module-CPANfile/lib/cpanfile.pod> requires "ExtUtils::MakeMaker" => "6.00"; requires "Mojolicious" => "7.11"; $ $EDITOR Changes 0.01 Not Released - Initial release based on kraih's Mojolicious hack of the day: Mojolyst $ git init $ git add -A $ git commit -m "first commit" $ git remote add origin [email protected]: s1037989/Mojolicious-Plugin-Mojolyst.git $ git push -u origin master $ git ship start $ git ship build $ git ship -- 1:30 -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
