Just another Perl shrine | |
PerlMonks |
Re: What is ignore.txtby hippo (Bishop) |
on Jun 08, 2023 at 18:05 UTC ( [id://11152700]=note: print w/replies, xml ) | Need Help?? |
What is a xt directory for? Can I ignore or delete it? xt is for eXtra Tests - tests which are not run as a matter of course can go in here. You may well not have any so you can happily either ignore or delete. It's easy to re-create if you decide you want it later on. For slightly later, once I've built the module, should I delete the blib directory before make dist? make clean should take care of that for you - no need to do it by hand. I had to add use lib 'lib'; to the test files to make the tests use the right version of the module. How are you running the tests? make test should use this lib path (actually blib/lib) by default. prove has a -l option which takes care of that for you also. PS. to answer the question in the title, ignore.txt is a generic version control ignore list. This is detailed in the POD for Module::Starter. 🦛
In Section
Seekers of Perl Wisdom
|
|