Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/cue,pkg/tool/exec: rely on cue schema for exec.Run defaults
Currently, exec.Run is unable to properly leverage its defined schema to evaluate defaults, due to the fields not being defined in the legacy schema definitions. This updates the logic in the task runner to unify the old schemas with the new, to allow for new fields to be referenced. Signed-off-by: Nick Figgins <figginsn@gmail.com> Change-Id: I7b1eda6a002bb12a5059ddbc7ced42c76102ecc2 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1176665 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: CUEcueckoo <cueckoo@gmail.com> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
- Loading branch information
1 parent
d37ea66
commit b460e71
Showing
2 changed files
with
15 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters