Kent Fredric > Path-IsDev > Path::IsDev::Heuristic::DevDirMarker

Download:
Path-IsDev-1.001000.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.001000   Source  

NAME ^

Path::IsDev::Heuristic::DevDirMarker - Determine if a path contains a .devdir file

VERSION ^

version 1.001000

DESCRIPTION ^

This Heuristic is a workaround that is likely viable in the event none of the other Heuristics work.

All this heuristic checks for is the presence of a special file called .devdir, which is intended as an explicit notation that "This directory is a project root".

An example case where you might need such a Heuristic, is the scenario where you're not working with a Perl CPAN dist, but are instead working on a project in a different language, where Perl is simply there for build/test purposes.

METHODS ^

files

Matches files named:

    .devdir

matches

Matches if any of the files in files exist as children of the path

AUTHOR ^

Kent Fredric <kentfredric@gmail.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: