diff options
Diffstat (limited to 'use2dot/gen_use_graph')
-rwxr-xr-x | use2dot/gen_use_graph | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/use2dot/gen_use_graph b/use2dot/gen_use_graph new file mode 100755 index 00000000..030d0c7d --- /dev/null +++ b/use2dot/gen_use_graph @@ -0,0 +1,10 @@ +#!/bin/bash + +dir=$(mktemp -d) +here=$(dirname $(realpath $0)) + +guild use2dot -m '(main)' -- `find module -name \*.scm` > $dir/use.dot +$here/change_graph.py $dir/use.dot $dir/use2.dot +grep -v '\(srfi\|ice-9\|(util)\)' $dir/use2.dot > $dir/use3.dot + +fdp $dir/use3.dot -Tpdf -o use.pdf |