Skip to content

Commit

Permalink
cargo-make.json: add extend.relative property (#4505)
Browse files Browse the repository at this point in the history
* cargo-make.json: add extend.relative property

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
judemille and pre-commit-ci[bot] authored Mar 1, 2025
1 parent b107b83 commit 3a25326
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/schemas/json/cargo-make.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,25 @@
"description": "If true, the external makefile is optional and does not need to exist",
"type": "boolean",
"default": true
},
"relative": {
"description": "Where the path is relative to",
"oneOf": [
{
"const": "git",
"description": "The nearest (up) .git folder location"
},
{
"const": "crate",
"description": "Crate root (based on Cargo.toml file)"
},
{
"const": "workspace",
"description": "Workspace root (based on second top Cargo.toml file)"
},
{ "type": "null", "description": "Current Makefile location" }
],
"default": null
}
}
},
Expand Down

0 comments on commit 3a25326

Please sign in to comment.