There's already a test in the form of t/src/manifest.t, which you might be able to adapt (or invoke directly).

JEff

On Monday, September 29, 2003, at 01:36 PM, Robert Spier wrote:


There's been a little bit of hubbub recently about people checking things into the languages/ directories and breaking the MANIFEST.

I can setup the CVS repository to notify the user after a checkin where
something has gone awry.  But, I'm low on tuits, so I need to farm out
a little of the work.

I need a script that meets the following specs:

  Input (via command line)
    1)  file representing MANIFEST
    2)  file representing MANIFEST.SKIP
    3)  file representing list of all files found

  Output (via stdout)
    error message if manifest check fails

  Restrictions:
    The script cannot access any other files/filesystems/directory
    listings besides the data in the files provided on the command
    line.

I think the easiest to implement this is by subclassing
ExtUtils::Manifest, and overriding manifiles() and maybe one or two
other subroutines.

-R (CVS TimeLord)




Reply via email to