2018-11-16 11:36:17 -08:00
|
|
|
|
|
|
|
|
// THIS FILE IS AUTOMATICALLY GENERATED. TO UPDATE THIS FILE YOU NEED TO CHANGE THE
|
|
|
|
|
// CORRESPONDING JSON SCHEMA FILE, THEN RUN devkit-admin build (or bazel build ...).
|
|
|
|
|
|
|
|
|
|
// tslint:disable:no-global-tslint-disable
|
|
|
|
|
// tslint:disable
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Options for Bazel Builder
|
|
|
|
|
*/
|
|
|
|
|
export interface Schema {
|
2019-03-07 11:13:10 -08:00
|
|
|
/**
|
|
|
|
|
* Common commands supported by Bazel.
|
|
|
|
|
*/
|
2018-11-16 11:36:17 -08:00
|
|
|
bazelCommand: BazelCommand;
|
2019-03-07 11:13:10 -08:00
|
|
|
/**
|
|
|
|
|
* If true, leave Bazel files on disk after running command.
|
|
|
|
|
*/
|
|
|
|
|
leaveBazelFilesOnDisk?: boolean;
|
2018-11-16 11:36:17 -08:00
|
|
|
/**
|
|
|
|
|
* Target to be executed under Bazel.
|
|
|
|
|
*/
|
|
|
|
|
targetLabel: string;
|
2019-03-07 11:13:10 -08:00
|
|
|
/**
|
|
|
|
|
* If true, watch the filesystem using ibazel.
|
|
|
|
|
*/
|
2018-11-16 11:36:17 -08:00
|
|
|
watch?: boolean;
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-07 11:13:10 -08:00
|
|
|
/**
|
|
|
|
|
* Common commands supported by Bazel.
|
|
|
|
|
*/
|
2018-11-16 11:36:17 -08:00
|
|
|
export enum BazelCommand {
|
|
|
|
|
Build = 'build',
|
|
|
|
|
Run = 'run',
|
|
|
|
|
Test = 'test',
|
|
|
|
|
}
|