Skip to content

Repository script API / build / runStaticHermesPreparation

Function: runStaticHermesPreparation() ​

runStaticHermesPreparation(root, env, spawn?): void

Defined in: build.mjs:77

Build the runtime package CLI and use it to prepare pinned Hermes artifacts.

Parameters ​

root ​

any

Workspace root that owns the runtime package.

env ​

any

Isolated environment for the runtime build and 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 the CLI build or Hermes preparation exits unsuccessfully.

pumpkin-plugins documentation