You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first two commands should yield the same result, and the third one should not fail.
What did you see instead?
The first command should yield the same result as the second. That means that explicitly specifying all the files in the same package should lead to the same result as specifying the directory. However, files that start with a dot are ignored if not added explicitly. Besides being surprising due to the fact that the dot files have a package specified, this breaks an interesting idioms of naming cue files after the files they validate, and those are often configs that start with a dot, like .pkgx.yaml.
Also, for the file named .cue the command fails to infer its package, even though it works just fine if specified together with other files.
The text was updated successfully, but these errors were encountered:
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest stable release?
Yes.
What did you do?
What did you expect to see?
The first two commands should yield the same result, and the third one should not fail.
What did you see instead?
The first command should yield the same result as the second. That means that explicitly specifying all the files in the same package should lead to the same result as specifying the directory. However, files that start with a dot are ignored if not added explicitly. Besides being surprising due to the fact that the dot files have a package specified, this breaks an interesting idioms of naming cue files after the files they validate, and those are often configs that start with a dot, like .pkgx.yaml.
Also, for the file named
.cue
the command fails to infer its package, even though it works just fine if specified together with other files.The text was updated successfully, but these errors were encountered: