Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

perl Build.PL complains about missing files #8

Closed
ncolton opened this Issue · 5 comments

3 participants

@ncolton

When trying to follow the instruction, I got the following gripe:

$ perl Build.PL
WARNING: the following files are missing in your kit:
META.json
META.yml
README
Please inform the author.

@creaktive
Owner

Did you tried to run ./Build test after the perl Build.PL step? Despite the warnings, it is supposed to end with:

All tests successful.
Files=13, Tests=1,  1 wallclock secs ( 0.07 usr  0.05 sys +  0.29 cusr  0.07 csys =  0.48 CPU)
Result: PASS

The missing files are generated/consumed by the ./Build dist step which is only used to release the project at CPAN.

@ncolton

The test phase does indeed pass running only one of the tests.

@xsawyerx

Perhaps the Build.PL file isn't configured correctly. For example, the distribution does not ship with a README, but a README.md. The Build.PL file is not configured to create a proper README.

You can add create_readme => 1 to Build.PL to accomplish that.

@creaktive creaktive referenced this issue from a commit
@creaktive fixing issue #8 b5c40f1
@creaktive
Owner

The README is generated correctly: https://github.com/creaktive/rainbarf/blob/master/Build.PL#L14
However, my .gitignore was set to keep the script-generated files out of the repository. Better let them in :)
Thanks for your observations, fixed!

@creaktive creaktive closed this
@xsawyerx

Argh. First wake up, THEN read code. Sorry about that. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.