Add dependency graph script
authorAnders <mortberg@chalmers.se>
Mon, 13 Apr 2015 15:01:30 +0000 (17:01 +0200)
committerAnders <mortberg@chalmers.se>
Mon, 13 Apr 2015 15:01:30 +0000 (17:01 +0200)
graph [new file with mode: 0755]

diff --git a/graph b/graph
new file mode 100755 (executable)
index 0000000..31d9b3d
--- /dev/null
+++ b/graph
@@ -0,0 +1 @@
+(echo "digraph {"; grep import *ctt | sed 's/\(.*\).ctt:import \([a-zA-Z]*\)/\2 -> \1/'; echo "}") | dot -Tpng > graph.png
\ No newline at end of file