Pake::Application
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.
#In Pakefile script task { $task = Pake::Application::get_task("Any_task_created_earlier"); $task->execute(); } "test"
Pake::Application is an enviroment of pake. It contains all information about current execution.
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
To install Pake::Task, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pake::Task
CPAN shell
perl -MCPAN -e shell install Pake::Task
For more information on module installation, please visit the detailed CPAN module installation guide.