File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
cmd/cue/cmd/testdata/script Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ cmp stderr out/err
1212cd symlink
1313symlink symlink.json -> test.json
1414symlink symlink-parent.json -> ../test.json
15+ symlink symlink-dir -> y
1516exec cue eval .
1617cmp stdout out/std
1718
@@ -177,8 +178,14 @@ package symlink
177178file: _ @embed(file=symlink.json)
178179
179180glob: _ @embed(glob="*.json")
181+
182+ fileSymlinkDir: _ @embed(file=symlink-dir/test.json)
183+
184+ globSymlinkDir: _ @embed(glob="symlink-dir/*.json")
180185-- symlink/test.json --
181186{ "x": "symlink target file" }
187+ -- symlink/y/test.json --
188+ { "y": "another symlink target file" }
182189-- symlink/out/std --
183190file: {
184191 x: "symlink target file"
@@ -194,3 +201,11 @@ glob: {
194201 x: "symlink target file"
195202 }
196203}
204+ fileSymlinkDir: {
205+ y: "another symlink target file"
206+ }
207+ globSymlinkDir: {
208+ "symlink-dir/test.json": {
209+ y: "another symlink target file"
210+ }
211+ }
You can’t perform that action at this time.
0 commit comments