Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Builder

Index

Constructors

constructor

Properties

benchmarkPodPath

benchmarkPodPath: string

controlDirectoryAbsolutePath

controlDirectoryAbsolutePath: string

Private date

date: Date

When the builder was initialized.

manifestPodPath

manifestPodPath: string

metricsPodPath

metricsPodPath: string

missingTranslationsPodPath

missingTranslationsPodPath: string

outputDirectoryPodPath

outputDirectoryPodPath: string

pod

pod: Pod

Static DefaultOutputDirectory

DefaultOutputDirectory: string = 'build'

Static NumConcurrentBuilds

NumConcurrentBuilds: number = 40

Static NumConcurrentCopies

NumConcurrentCopies: number = 2000

Static ShowMoveProgressBarThreshold

ShowMoveProgressBarThreshold: number = 1000

Methods

cleanOutputUsingManifests

copyFileAsync

  • copyFileAsync(outputPath: string, podPath: string): Promise<void>
  • Parameters

    • outputPath: string
    • podPath: string

    Returns Promise<void>

deleteDirectoryRecursive

  • deleteDirectoryRecursive(path: string): void

deleteOutputFiles

  • deleteOutputFiles(paths: string[]): void

export

exportBenchmark

  • exportBenchmark(): Promise<void>

getExistingManifest

getFileSha

  • getFileSha(outputPath: string): Promise<any>

logResult

moveFileAsync

  • moveFileAsync(beforePath: string, afterPath: string): Promise<void>
  • Parameters

    • beforePath: string
    • afterPath: string

    Returns Promise<void>

writeFileAsync

  • writeFileAsync(outputPath: string, content: string): Promise<void>
  • Parameters

    • outputPath: string
    • content: string

    Returns Promise<void>

writeLocales

  • writeLocales(localesToMissingTranslations: LocalesToMissingTranslations): Promise<void>
  • Parameters

    • localesToMissingTranslations: LocalesToMissingTranslations

    Returns Promise<void>

Static createProgressBar

  • createProgressBar(label: string): SingleBar

Static ensureDirectoryExists

  • ensureDirectoryExists(path: string): void

Static formatProgressBarTime

  • formatProgressBarTime(t: number): string

Static normalizePath

  • normalizePath(path: string): string

Generated using TypeDoc