Slay::Maker

Slay::Maker is an Perl make engine using Perl code for rules.
Download

Slay::Maker Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Barrie Slaymaker
  • Publisher web site:
  • http://search.cpan.org/~rbs/

Slay::Maker Tags


Slay::Maker Description

Slay::Maker is an Perl make engine using Perl code for rules. Slay::Maker is an Perl make engine using Perl code for rules.Slay::Maker is a make engine that uses perl declaration syntax for rules, including regular expressions for targets and anonymous subs for targets, dependencies, and actions.This allows you to tightly integrate a make engine in an application and to exercise a large amount of control over the make process, taking full advantage of Perl code at any point in the make cycle.RULE SYNTAXThe rulebase syntax is: , , , , ...Each item in any of the three arrays may be a literal string or a subroutine (CODE) reference. A literal string is pretty much the same as using a literal string in a regular makefile. You may also use regular expression ('Regexp') references (qr/.../) in @targets and the $1, $2, ... variables inside strings in @dependencies: ,Subroutine references are evaluated as lazily as possible when the make is being run, so any CODE refs in @targets will be called each time a make is run, CODE refs in @dependencies will only be called if a target matches, and CODE refs in @actions are only called if the rule is fired.TARGET SUBS** NOT IMPLEMENTED QUITE YET **. It's simple to do, just haven't needed it yet.Aside from strings and Regexps, you will be able to use CODE refs in the target list. These are called each time the rule is evaluated, which will usually happen once per target or dependency being checked when the make is run.A target sub declaration might look like: sub { my ( $maker ) = @_ ; ... return @targets; },(if target subs were implemented already). Requirements: · Perl


Slay::Maker Related Software