Add dot.sh script to inspect mod dependencies.

This commit is contained in:
Auke Kok 2019-12-15 21:44:26 -08:00
parent dd78de6412
commit fbb672cfc6

5
dot.sh Normal file
View File

@ -0,0 +1,5 @@
(
echo "digraph {"
grep -r . mods/*/depends.txt | sed 's/mods.//g ; s/.depends.txt:/ -\> /g ; s/?//g ; s/$/;/ '
echo "}"
) | dot -Tsvg