Closed pmorch closed 3 years ago
Just a quick note from lunchbreak - yeah, it's complicated :-/
For Test::Base to work, you have to clone https://github.com/ingydotnet/test-base-pm parallel to the yaml-libyaml-pm repo.
If I work on YAML::XS, I do zild distdir
, then YAML-LibYAML-0.xy
will be created which looks like the CPAN tarball, and I do a git init
in this subdirectory and work there. If everythings fine, I copy the changed stuff one level up to the original git directory
I created a CONTRIBUTING.md file. Hope this helps!
No further feedback, closing
I've checked out the code from git with:
How do I build from a such a git checkout? Hmm..... No Makefile.PL.
The cpan
.tar.gz
has a Makefile.PL that says:( I now want to scream. The Dist::Zilla documentation is horrible if all you want to do is build a module from source that somebody else has written. Turns out the magic is
dzil build
.)But this is not a Dist::Zilla based but Zilla::Dist based I discover after reading
About
. So I try to:cpanm -n -l locallib Test::Base Zilla::Dist Dist::Zilla
- install new versions of these packages for good measureeval $(perl -M'local::lib qw(locallib)')
cd yaml-libyaml-pm
zild make dist
That last step has this output:
And I have no idea what "Test::Base repo missing or not in right state" means. Looking in
TestBaseIncluder.pm
reveals that a../.git
or../../.git
is expected to exist but no hint as to why or what to do now.So:
How do I build from a git checkout?