-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #650 Change-Id: I948676759284592ab2156ad70d03ca8a8174518e Reviewed-on: https://cue-review.googlesource.com/c/cue/+/8281 Reviewed-by: CUE cueckoo <cueckoo@gmail.com> Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
cue cmd test | ||
|
||
-- blah/blah.cue -- | ||
package blah | ||
|
||
#Pod: { | ||
spec?: #PodSpec | ||
} | ||
|
||
#PodSpec: { | ||
} | ||
-- cue.mod/module.cue -- | ||
module: "mod.com" | ||
-- x.cue -- | ||
package kube | ||
|
||
import ( | ||
"tool/cli" | ||
"mod.com/blah" | ||
) | ||
|
||
root: blah.#Pod | ||
|
||
root: spec: _ | ||
|
||
command: test: task: test: cli.Print & { | ||
for _ in root { | ||
text: "success" | ||
} | ||
} | ||
-- y_tool.cue -- | ||
package kube |
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