Skip to content

Repository script API / build / runStaticHermesPreparation

Function: runStaticHermesPreparation() ​

runStaticHermesPreparation(root, env, spawn?): void

Defined in: build.mjs:100

Prepare pinned Hermes artifacts with the built runtime package CLI.

Parameters ​

root ​

any

Workspace root that owns the runtime package.

env ​

any

Isolated environment for Hermes preparation.

spawn? ​

{(command): SpawnSyncReturns<NonSharedBuffer>; (command, options): SpawnSyncReturns<string>; (command, options): SpawnSyncReturns<NonSharedBuffer>; (command, options?): SpawnSyncReturns<string | NonSharedBuffer>; (command, args): SpawnSyncReturns<NonSharedBuffer>; (command, args, options): SpawnSyncReturns<string>; (command, args, options): SpawnSyncReturns<NonSharedBuffer>; (command, args?, options?): SpawnSyncReturns<string | NonSharedBuffer>; }

Process runner, injectable for unit tests.

Returns ​

void

Throws ​

If Hermes preparation exits unsuccessfully.

pumpkin-plugins documentation