5a7e198583
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
10 lines
253 B
Bash
Executable file
10 lines
253 B
Bash
Executable file
#!/usr/bin/env bash
|
|
for LEANFILE in $@; do
|
|
OLEANFILE=${LEANFILE//.lean/.olean}
|
|
DEPS=`$LEAN --deps $LEANFILE | cut -d ' ' -f 2- | tr "\n" " "`
|
|
echo -n "$OLEANFILE:"
|
|
for DEP in $DEPS; do
|
|
echo -n " ${DEP}"
|
|
done
|
|
echo ""
|
|
done
|