NAME
pake
AUTHOR
Krzysztof Suchomski
Contact:
krzysztof.suchomski at gmail dot com
SYNOPSIS
Calling program:
pake [options] [tasks]
DESCRIPTION
Pakefile is a script where you define task and their dependencies. Within the file you can access to all enviroment variables, pake program run task specified in the command line and executes it with dependencies derfined in Pakefile
OPTIONS
-T, prints all tasks with descriptions defined in the Pakefile
-f FILE, changes the file name to the specified, default Pakefile
-h, print help contents
-d DIR, changes the working directory
-D, prints all tasks with dependencies
-r, Dry run, executes Pakefile to check if script is properly formed
-V, prints pake version
EXAMPLE PAKEFILE
#default task default "test2";
desc "task simply prints test"; task { print "test\n"; } "test";
task { print "test1\n"; use Pod::Html; } "test1" => ["test"];
desc "another boring description"; task { print "test2\n"; } "test2"=> ["test", "test1"];
#run: pake src/com/test desc "Directory Task"; directory{
} "src/com/test";
file {} "biblioteka.c" => []; file { `gcc -c biblioteka.c` } "biblioteka.o" => ["src/com/test","biblioteka.c"];
file { `gcc -o program program.c biblioteka.o` } "program" => ["biblioteka.o"];
1;