Nu Class Reference

NukeProject

A project consisting of an interrelated set of NukeTasks.

Superclass: NSObject
Declared in: tools/nuke

NukeProjects gather together a related set of NukeTask task descriptions and allow them to be more easily referred to by name. There is typically one NukeProject for a given run of nuke. A Nukefile is evaluated inside an instance method of a NukeProject; so all instance variables in a Nukefile belong to the NukeProject instance.

Methods

- (id) addTask: (id) taskName
action: (id) action
Add a new task by to a project. The new task is specified by its name. The task action should be specified as a block.

in tools/nuke

- (id) addTask: (id) taskName
description: (id) description
action: (id) action
Add a new task by to a project. The new task is specified by its name. The task description is a string describing what it does. The task action should be specified as a block.

in tools/nuke

- (id) init
Initialize a NukeProject.

in tools/nuke

- (id) load: (id) filename
Load and evaluate code from a named file. This is typically used to read a Nukefile.

in tools/nuke

- (void) nuke: (id) targetName
Perform the tasks needed to complete a named target task.

in tools/nuke

- (id) tasks
Get the dictionary of tasks managed by a project.

in tools/nuke