Skip to content

Commit 6821e47

Browse files
committed
chore: lake: restoreAllArtifacts / CMake build types in TOML schema
1 parent e6dd412 commit 6821e47

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/lake/schemas/lakefile-toml-schema.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
"buildType": {
2323
"type": "string",
2424
"enum": [
25-
"debug",
26-
"relWithDebInfo",
27-
"minSizeRel",
28-
"release"
25+
"debug", "Debug",
26+
"relWithDebInfo", "RelWithDebInfo",
27+
"minSizeRel", "MinSizeRel",
28+
"release", "Release"
2929
],
3030
"default": "release",
3131
"description": "The mode in which the modules should be built."
@@ -455,6 +455,10 @@
455455
"type": "boolean",
456456
"description": "Whether to enables Lake's local, offline artifact cache for the package.\n\nArtifacts (i.e., build products) of packages will be shared across local copies by storing them in a cache associated with the Lean toolchain.\nThis can significantly reduce initial build times and disk space usage when working with multiple copies of large projects or large dependencies.\n\nAs a caveat, build targets which support the artifact cache will not be stored in their usual location within the build directory. Thus, projects with custom build scripts that rely on specific location of artifacts may wish to disable this feature.\n\nIf not set, the cache will be disabled by default unless the `LAKE_ARTIFACT_CACHE` environment variable is set to true."
457457
},
458+
"restoreAllArtifacts": {
459+
"type": "boolean",
460+
"description": "Whether, when the local artifact cache is enabled, Lake should copy all cached artifacts into the build directory. This ensures the build results are available to external consumers who expect them in the build directory."
461+
},
458462
"srcDir": {
459463
"type": "string",
460464
"default": ".",

0 commit comments

Comments
 (0)