From: Ian Jackson Date: Sat, 25 Jul 2020 17:09:29 +0000 (+0100) Subject: nailing-cargo: Chase path dependencies X-Git-Tag: nailing-cargo/1.0.0~72 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a9f31c6006480a614c065f440281a271ff9fb674;p=nailing-cargo.git nailing-cargo: Chase path dependencies Closes #9 Signed-off-by: Ian Jackson --- diff --git a/nailing-cargo b/nailing-cargo index a8058ed..4a62eb8 100755 --- a/nailing-cargo +++ b/nailing-cargo @@ -337,6 +337,11 @@ sub read_manifest ($$$) { next; } $manifests{$manifest} = [ $toml, $org_subdir ] if $p; + foreach my $dep (get_dependency_tables $toml) { + next unless defined $dep->{path}; + queue_referenced_path($dep->{path}, $org_subdir, + "dependency of $subdir, $why"); + } return ($p, $ws); } return undef;