Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 51d7bdc968 | |||
| 79d3d5d4b5 |
@@ -56,12 +56,11 @@ sub package_deps {
|
|||||||
# leading to duplicates. The sanest thing to do is dedup the list. This gives the superset of all
|
# leading to duplicates. The sanest thing to do is dedup the list. This gives the superset of all
|
||||||
# possible dependencies, which isn't perfectly accurate but should be good enough. For completely
|
# possible dependencies, which isn't perfectly accurate but should be good enough. For completely
|
||||||
# accurate results, pass in a versioned atom.
|
# accurate results, pass in a versioned atom.
|
||||||
@dependencies =
|
@dependencies = uniq(
|
||||||
uniq
|
|
||||||
sort
|
sort
|
||||||
grep { $_ }
|
grep { $_ }
|
||||||
map { $_ =~ s/\[.*\]|\s//g; &atom($_) if $atom; $_ }
|
map { $_ =~ s/\[.*\]|\s//g; &atom($_) if $atom; $_ }
|
||||||
@dependencies;
|
@dependencies);
|
||||||
|
|
||||||
$cache{$cache_key} = \@dependencies;
|
$cache{$cache_key} = \@dependencies;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user