Skip to main content

export

Exporting the project being edited. targets says what this install can build and what it would have to fetch; start runs one off the frame and reports to on_export. Nothing here exports while a recording plays.

5 functions, 0 constants. Scripts reach it as export::.

Functions

Argument kinds are the script values a call passes: node is a node handle, any a table or value of any kind, fn a callback.

functionacts onwhat it does
listen(node, any?)Have the node's on_export(event) — or the on_event method the options name — called as each export starts, finishes or fails.
output(string) -> anyWhere an export for this target will be written, as the project's [export] output decides.
running() -> intHow many exports are in flight.
start(string, any?) -> boolExport the edited project for one target, on a thread. download allows fetching a missing template, sign names an identity, output overrides where it lands. Answers false while a recording plays.
targets() -> anyEvery target, each { name, bundle, installed, note }: whether its runtime template is already here, and what a signed build of it would additionally need.