hixi-hyi / p5-Setup-Project

setup project tool
Other
0 stars 0 forks source link

Undeclared dependency Module::CPANfile #1

Open eserte opened 8 years ago

eserte commented 8 years ago

The t/00_compile.t test fails if Module::CPANfile is not installed:

#   Failed test 'use Setup::Project;'
#   at t/00_compile.t line 4.
#     Tried to use 'Setup::Project'.
#     Error:  Can't locate Module/CPANfile.pm in @INC (you may need to install the Module::CPANfile module) (@INC contains: ...) at /tmpfs/.cpan-build/2015112418/Setup-Project-0.01-43xEqi/blib/lib/Setup/Project.pm line 13.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build/2015112418/Setup-Project-0.01-43xEqi/blib/lib/Setup/Project.pm line 13.
# Compilation failed in require at t/00_compile.t line 4.
# BEGIN failed--compilation aborted at t/00_compile.t line 4.
# Looks like you failed 1 test of 1.
t/00_compile.t ...................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
eserte commented 5 years ago

Also needs to be declared as a prerequisite: File::Slurp.

eserte commented 5 years ago

Another missing dependency: File::ShareDir