aboutsummaryrefslogtreecommitdiff
path: root/use2dot/gen_use_graph
blob: 030d0c7d7bde17931fb922ddda9e221a679ba536 (plain)
1
2
3
4
5
6
7
8
9
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