161 lines
3.8 KiB
JSON
161 lines
3.8 KiB
JSON
{
|
|
"version": 2,
|
|
"outputCapture": "pipe",
|
|
"$schema": "http://json-schema.org/schema",
|
|
"title": "Test executor",
|
|
"description": "",
|
|
"type": "object",
|
|
"properties": {
|
|
"no-run": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"no-fail-fast": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"release": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"target": {
|
|
"type": "string"
|
|
},
|
|
"profile": {
|
|
"type": "string"
|
|
},
|
|
"target-dir": {
|
|
"type": "string"
|
|
},
|
|
"toolchain": {
|
|
"type": "string",
|
|
"enum": [
|
|
"stable",
|
|
"beta",
|
|
"nightly"
|
|
],
|
|
"default": "stable"
|
|
},
|
|
"features": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"description": "Features of workspace members may be enabled with package-name/feature-name syntax. Array of names is supported"
|
|
},
|
|
"all-features": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Build all binary targets"
|
|
},
|
|
"lib": {
|
|
"type": "boolean",
|
|
"description": "Build the package's library",
|
|
"default": false
|
|
},
|
|
"bin": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"description": "Build the specified binary. Array of names or common Unix glob patterns is supported"
|
|
},
|
|
"bins": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Build all binary targets"
|
|
},
|
|
"example": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"description": "Build the specified example. Array of names or common Unix glob patterns is supported"
|
|
},
|
|
"examples": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Build all example targets"
|
|
},
|
|
"test": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"description": "Build the specified test. Array of names or common Unix glob patterns is supported"
|
|
},
|
|
"tests": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Build all test targets"
|
|
},
|
|
"bench": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"description": "Build the specified bench. Array of names or common Unix glob patterns is supported"
|
|
},
|
|
"benches": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Build all targets in benchmark mode that have the bench = true manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a benchmark, and once as a dependency for binaries, benchmarks, etc.). Targets may be enabled or disabled by setting the bench flag in the manifest settings for the target."
|
|
},
|
|
"all-targets": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Build all test targets"
|
|
},
|
|
"args": {
|
|
"oneOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"description": "Extra arguments. You can pass them as follows: nx run project:run --args='--wait=100'."
|
|
}
|
|
},
|
|
"required": []
|
|
}
|