NAME
Pake::Application
SYNOPSIS
You probably won't mess with the code in here. If you are accessing Pake::Application enviroment from Pakefile you can get any information possesed by it.
Usage
#In Pakefile script
task {
$task = Pake::Application::get_task("Any_task_created_earlier");
$task->execute();
} "test"
DESCRIPTION
Pake::Application is an enviroment of pake. It contains all information about current execution.
Methods
Overview of all methods avalailable in the Syntax.pm
Pakefile
You can get executed file name. During execution only get have any sense.
Env
Returns pake env variables
printTasks
Print all tasks with descriptions
printDeps
Print all tasks with dependencies
options
options passed to pake
get_task
returns Task object which name was specified as parameter
runTask
runs Task object which name was specified as parameter