8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
21 lines
391 B
Bash
Executable file
21 lines
391 B
Bash
Executable file
#! /bin/sh
|
|
|
|
source lib-cache.sh;
|
|
|
|
print_requirements () {
|
|
module_name="$1";
|
|
|
|
./requirements.sh "$module_name" | while read; do
|
|
echo "$REPLY";
|
|
print_reqs_cache "$REPLY";
|
|
done | sort | uniq
|
|
};
|
|
|
|
print_reqs_cache () {
|
|
module_name="$1";
|
|
module_basename="${module_name//::/-}";
|
|
|
|
cached_output print_requirements "$module_basename" "$module_name" "full.deps";
|
|
};
|
|
|
|
print_reqs_cache "$@";
|