TinyMake 0.06
Sponsored Links
TinyMake 0.06 Ranking & Summary
File size:
0.010 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
879
Date added:
2007-06-06
Publisher:
Walter Higgins
TinyMake 0.06 description
TinyMake is a minimalist build language, similar in purpose to make and ant.
SYNOPSIS
use TinyMake :all;
# a file statement without a rule is like a symbolic target
file all => ["codeGen", "compile", "dataLoad", "test"];
file codeGen => ["database.spec"], sub {
# generate code here
sh "touch $target";
} ;
file compile => ["codeGen"], sub {
# compile code here
sh "touch $target";
} ;
file dataLoad => ["codeGen"], sub {
# load data here
sh "touch $target"
} ;
file test => ["compile", "dataLoad"], sub {
# test code here
sh "touch $target";
} ;
# a file statement without prerequisites will be executed
# if the target doesnt exist.
file clean => sub {
# perform cleanup here
sh "rm compile codeGen dataLoad test"
} ;
make @ARGV
This Perl Module allows you to define file-based dependencies similar to how make works.Rather than placing the build rules in a separate Makefile or build.xml, the build rules are declared using standard Perl syntax. TinyMake is effectively an inline domain-specific language. Using make you might write a makefile that looks like this...
test: compile dataLoad
# test
touch test
codeGen: database.spec
# generate code
touch codeGen
compile: codeGen
# compile code
touch compile
dataLoad: codeGen
# load data
touch dataLoad
database.spec: # source file
The equivalent perl code using TinyMake would look like this...
use TinyMake :all;
# some perl code
.
.
.
file test => ["compile","dataLoad"], sub { # test
`touch test`;
} ;
file codeGen => "database.spec", sub { # generate code
`touch codeGen`;
} ;
# some more perl code
.
.
.
file compile => "codeGen", sub { # compile code
`touch compile`;
} ;
file dataload => "codeGen", sub { # load data
`touch dataLoad`;
} ;
make @ARGV;
SYNOPSIS
use TinyMake :all;
# a file statement without a rule is like a symbolic target
file all => ["codeGen", "compile", "dataLoad", "test"];
file codeGen => ["database.spec"], sub {
# generate code here
sh "touch $target";
} ;
file compile => ["codeGen"], sub {
# compile code here
sh "touch $target";
} ;
file dataLoad => ["codeGen"], sub {
# load data here
sh "touch $target"
} ;
file test => ["compile", "dataLoad"], sub {
# test code here
sh "touch $target";
} ;
# a file statement without prerequisites will be executed
# if the target doesnt exist.
file clean => sub {
# perform cleanup here
sh "rm compile codeGen dataLoad test"
} ;
make @ARGV
This Perl Module allows you to define file-based dependencies similar to how make works.Rather than placing the build rules in a separate Makefile or build.xml, the build rules are declared using standard Perl syntax. TinyMake is effectively an inline domain-specific language. Using make you might write a makefile that looks like this...
test: compile dataLoad
# test
touch test
codeGen: database.spec
# generate code
touch codeGen
compile: codeGen
# compile code
touch compile
dataLoad: codeGen
# load data
touch dataLoad
database.spec: # source file
The equivalent perl code using TinyMake would look like this...
use TinyMake :all;
# some perl code
.
.
.
file test => ["compile","dataLoad"], sub { # test
`touch test`;
} ;
file codeGen => "database.spec", sub { # generate code
`touch codeGen`;
} ;
# some more perl code
.
.
.
file compile => "codeGen", sub { # compile code
`touch compile`;
} ;
file dataload => "codeGen", sub { # load data
`touch dataLoad`;
} ;
make @ARGV;
TinyMake 0.06 Screenshot
TinyMake 0.06 Keywords
TinyMake
TinyMake 0.06
in purpose to
To make
similar in
In purpose
file
compile
touch
CodeGen
code
sub
TinyMake 0.06
Libraries
Programming
Bookmark TinyMake 0.06
TinyMake 0.06 Copyright
WareSeeker periodically updates pricing and software information of TinyMake 0.06 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of TinyMake 0.06 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
mod_choke is a module for Apache that limits usage by greedy clients. Free Download
Etk is a Perl bindings for the Enlightened ToolKit (Etk). Free Download
ICS::Simple is a simple interface to CyberSource ICS2. Free Download
MP3::Find::Base is a base class for MP3::Find backends. Free Download
C is pronounced large-C and is a pseudo-interpreter of the C programming language. Free Download
XML::IODEF is a Perl module for building/parsing IODEF messages. Free Download
Sub::Quotelike is a Perl module that allows to define quotelike functions. Free Download
Env::C is a Get/Set/Unset Environment Variables on the C level. Free Download
Latest Software
Popular Software
Favourite Software