Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Perl6 ecosystem

Perl6 ecosystem

YAPC::Okinawa 2018 ONNASON 03/03

Shoichi Kaji

March 03, 2018
Tweet

More Decks by Shoichi Kaji

Other Decks in Programming

Transcript

  1. Contents • ecosystemͱ͸? • ecosystem: Perl5 • ecosystem: ϦϦʔε౰࣌ͷPerl6 •

    ecosystem: ࠓͷPerl6 • Perl6 moduleͷΦʔαϦϯά • ·ͱΊ • Perl6 ecosystemͷࠓޙ
  2. Perl5 • ഑෍৔ॴ • CPAN (via PAUSE) • Index •

    02packages.details.txt created by PAUSE • cpanmetadb • metacpan • installer • CPAN.pm, CPANPLUS, cpanminus
  3. ࠓͷPerl6 - PAUSE • CPANʹ͸Perl5 distribution΋͋ΔͷͰɺ୯७ʹPerl6 distribution΋upload͢Δͱ໊લ͕িಥͯ͠͠·͏ɻͲ͏͢Δ͔ • PAUSEʹdistribution͕upload͞Εͨͱ͖ •

    META6.jsonΛؚΉ৔߹ɺPerl6 distributionͱ൑அ • ͦͷͱ͖ɺࣗಈతʹ S/SK/SKAJI/Perl6/ ҎԼʹ഑ஔ • ࠓͷͱ͜ΖɺPerl6σΟϨΫϦҎԼʹ഑ஔ͢ΔҎ֎ɺ
 ಛผͳૢ࡞͸͍ͯ͠ͳ͍
  4. ࠓͷPerl6 - zef • A module installer by Nick Logan

    (ugexe) • Perl6ͷfeatureΛ;ΜͩΜʹ࢖ͬͨ
 ׬੒౓ͷߴ͍module installer • rakudoͷbugͷworkaround͕
 ݁ߏೖ͍ͬͯΔҹ৅:)
  5. Perl6 moduleͷΦʔαϦϯά › mi6 new Your::Module # hack, hack, hack!

    › cd Your::Module; vim lib/Your/Module.pm › mi6 release ==> Release distribution to CPAN There are 11 steps: * Step 1. CheckChanges * Step 2. CheckOrigin * Step 3. CheckUntrackedFiles * Step 4. BumpVersion * Step 5. RegenerateFiles * Step 6. DistTest * Step 7. MakeDist * Step 8. UploadToCPAN * Step 9. RewriteChanges * Step10. GitCommit * Step11. CreateGitTag distributionͷ εέϧτϯ࡞੒͔Β CPAN΁ͷupload·Ͱ Ͱ͖Δ
  6. ·ͱΊ • ࠓͷPerl6ͷecosystem͸Լه3͔ͭΒͳΔ • CPAN (via PAUSE) • App::ecogen •

    zef • mi6Λ࢖͏͜ͱͰ؆୯ʹPerl6 moduleͷ
 ΦʔαϦϯάɺCPAN΁ͷupload͕Ͱ͖Δ