Runs the build script in a container.

Hierarchy (view full)

Constructors

Properties

buildGid?: number = ...

Owner gid that is set on build artifacts.

buildImage: Image

Tag of the docker image for the build container.

buildImageManifest: string = ...

Path to the dockerfile for the build container if missing.

buildImageTag: string = ...

Docker image to use for dockerized builds.

buildUid?: number = ...

Owner uid that is set on build artifacts.

caching: boolean = !this.config.getFlag('FADROMA_REBUILD', ()=>false)

Whether to enable caching and reuse contracts from artifacts directory.

config: Config
engine: Connection

Used to launch build container.

engineSocket: string = ...

Path to Docker API endpoint.

id: string = 'local'

Unique identifier of this compiler implementation.

noFetch: boolean = ...

Whether to skip any git fetch calls in the build script.

outputDir: Directory = ...

Name of directory where build artifacts are collected.

outputGid: string = ...

Owner gid that is set on build artifacts.

outputUid: string = ...

Owner uid that is set on build artifacts.

quiet: boolean = ...

Whether the build log should be printed only on error, or always

revision: string = Program.HEAD

Default Git reference from which to build sources.

script?: string = ...

The build script.

toolchain: string = ...

Version of Rust toolchain to use.

verbose: boolean = ...

Whether the build process should print more detail to the console.

Accessors

Methods

  • This implementation groups the passed source by workspace and ref, in order to launch one build container per workspace/ref combination and have it build all the crates from that combination in sequence, reusing the container's internal intermediate build cache.

    Parameters

    Returns Promise<CompiledCode[]>

Generated using TypeDoc