-
-
15 May 2013 18:45:53 UTC
- Distribution: Build-Simple
- Module version: 0.002
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers (372 / 0 / 0)
- Kwalitee
Bus factor: 1- 87.70% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (11.64KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Carp
- File::Path
- Moo
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Build::Simple - A minimalistic dependency system
VERSION
version 0.002
DESCRIPTION
Build::Simply is a simple but effective dependency engine. It tries to support
METHODS
add_file($filename, %options)
Add a file to the build graph. It can take the following options:
action
A subref to the action that needs to be performed.
dependencies
The nodes the action depends on. Defaults to an empty list.
skip_mkdir
Block
mkdir(dirname($filename))
from being executed before the action. Defaults to false.
add_phony($filename, %options)
Add a phony dependency to the graph. It takes the same options as add_file does, except that skip_mkdir defaults to true.
run($goal, %options)
Make all of
$goal
's dependencies, and then$goal
itself.has_node($filename)
Returns true if a node exists in the graph, returns false otherwise.
AUTHOR
Leon Timmermans <leont@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Build::Simple, copy and paste the appropriate command in to your terminal.
cpanm Build::Simple
perl -MCPAN -e shell install Build::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.