Pake::Application - Pake::Application documentation


pake documentation  | view source Contained in the pake distribution.

Index


NAME

Top

Pake::Application

SYNOPSIS

Top

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

Top

	#In Pakefile script
	task {
		$task = Pake::Application::get_task("Any_task_created_earlier");
		$task->execute();
	} "test"

DESCRIPTION

Top

Pake::Application is an enviroment of pake. It contains all information about current execution.

Methods

Top

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


pake documentation  | view source Contained in the pake distribution.