| { | |
| "$schema": "http://json-schema.org/schema", | |
| "title": "Bazel builder schema", | |
| "description": "Options for Bazel Builder", | |
| "type": "object", | |
| "properties": { | |
| "targetLabel": { | |
| "type": "string", | |
| "description": "Target to be executed under Bazel." | |
| }, | |
| "bazelCommand": { | |
| "type": "string", | |
| "description": "Common commands supported by Bazel.", | |
| "enum": [ | |
| "run", | |
| "build", | |
| "test" | |
| ] | |
| }, | |
| "watch": { | |
| "type": "boolean", | |
| "description": "If true, watch the filesystem using ibazel.", | |
| "default": false | |
| } | |
| }, | |
| "additionalProperties": false, | |
| "required": [ | |
| "targetLabel", | |
| "bazelCommand" | |
| ] | |
| } |