File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -38,5 +38,10 @@ cd "${project_main_dir}" &&
3838 # with cargo >= v1.77.0
3939 # - if local path != '<...>/coreutils' id = "path+file://<coreutils local directory>#[email protected] " 4040 # - if local path == '<...>/coreutils' id = "path+file://<parent directory>/coreutils#0.0.26"
41- cargo metadata " $@ " --format-version 1 | jq -r ' [.resolve.nodes[] | select(.id|match(".*coreutils[ |@|#]\\d+\\.\\d+\\.\\d+")) | .deps[] | select(.pkg|match("uu_")) | .name | sub("^uu_"; "")] | sort | join(" ")'
41+ cargo metadata " $@ " --format-version 1 | jq -r ' [.packages[]
42+ | select(.default_run == "coreutils")
43+ | .dependencies[]
44+ | select(.name | startswith("uu_"))
45+ | .name | sub("^uu_"; "")]
46+ | sort | join(" ")'
4247 fi
You can’t perform that action at this time.
0 commit comments