xslate / p5-Mouse

Lightweight class builder for Perl, as a subset of Moose
https://metacpan.org/release/Mouse
Other
46 stars 32 forks source link

Assure . is in @INC so Build.PL will run when . is not in @INC by def… #70

Closed toddr closed 7 years ago

toddr commented 7 years ago

…ault

syohex commented 7 years ago

Thanks for information however this change makes no sense. Because Build.PL is generated by Minilla. It is overwritten by next minil build.

skaji commented 7 years ago

Need to change tool/generate-mouse-tiny.pl too.

❯ perl Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Mouse' version 'v2.4.7'

❯ ./Build
Building Mouse
Generate Mouse::Tiny ...
Can't locate lib/Mouse/Spec.pm in @INC (you may need to install the lib::Mouse::Spec module) (@INC contains: /home/skaji/env/plenv/versions/n02.09-v5.25.9-100/lib/perl5/site_perl/5.25.10/x86_64-linux /home/skaji/env/plenv/versions/n02.09-v5.25.9-100/lib/perl5/site_perl/5.25.10 /home/skaji/env/plenv/versions/n02.09-v5.25.9-100/lib/perl5/5.25.10/x86_64-linux /home/skaji/env/plenv/versions/n02.09-v5.25.9-100/lib/perl5/5.25.10) at tool/generate-mouse-tiny.pl line 22.
Cannot generate Mouse::Tiny: No such file or directory at builder/MyBuilder.pm line 33.
toddr commented 7 years ago

@skaji submitted https://github.com/gfx/p5-Mouse/pull/72 to fix the relative load in the Mouse::Tiny tool.

syohex commented 7 years ago

I have regenerated Build.PL and meta files at https://github.com/gfx/p5-Mouse/commit/8e390b039115233241b7fb51c321480e500e443d. Thanks.