...
1# Test that the latest version of a module is found and added when not already present.
2-- versions --
3bar.com
4-- want --
5module: "main.org@v0"
6deps: {
7 "bar.com@v0": {
8 v: "v0.5.0"
9 }
10}
11-- cue.mod/module.cue --
12module: "main.org@v0"
13-- main.cue --
14package main
15
16-- _registry/bar.com_v0.0.2/cue.mod/module.cue --
17module: "bar.com@v0"
18
19-- _registry/bar.com_v0.0.2/bar/x.cue --
20package bar
21
22-- _registry/bar.com_v0.5.0/cue.mod/module.cue --
23module: "bar.com@v0"
24
25-- _registry/bar.com_v0.5.0/bar/x.cue --
26package bar
View as plain text