Skip to content

lightgun-poc / lib/editorbuild / EditorBuildDeps

Interface: EditorBuildDeps ​

Defined in: lib/editorbuild.ts:17

Injection points for ensureEditorBuilt.

Properties ​

exec? ​

optional exec?: (cmd, opts) => void

Defined in: lib/editorbuild.ts:22

Runs the build; tests inject a recorder. Must throw on failure.

Parameters ​

cmd ​

string

opts ​
cwd ​

string

Returns ​

void


isSea? ​

optional isSea?: boolean

Defined in: lib/editorbuild.ts:24

True inside the single executable: never build, assets are baked.


log ​

log: (line) => void

Defined in: lib/editorbuild.ts:20

Parameters ​

line ​

string

Returns ​

void


publicDir? ​

optional publicDir?: string

Defined in: lib/editorbuild.ts:26

--public <dir>: the user brought their own assets — never build.


root ​

root: string

Defined in: lib/editorbuild.ts:19

The checkout root (appDir) — where editor/ and public/ live.

Released under the MIT License.