From 5197aaaf09eb52be26f4482e1087914aa6b1793b Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Sat, 19 Jul 2014 10:42:43 -0400 Subject: [PATCH] Added readme --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..cf7abbf --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# ant-dependency-viewer + +## Introduction + +ant-dependency-viewer is a Python script that visualizes the dependency graph of an Ant buildfile. + +## Dependencies + +1. Python 2.7 +2. graphviz +3. Python graphviz package (```pip install graphviz```) + +## Usage + +```./ant-dependency-viewer.py -f BUILDFILE``` will print a textual +representation of your Ant buildfile to stdout. If you would like a +graphical representation rendered with graphviz, use add the ```-t``` +argument to specify the output format: ```./ant-dependency-viewer.py +-f BUILDFILE -t FORMAT```. ```FORMAT``` can be one of ```pdf```, +```ps```, ```svg```, ```fig```, ```pcl```, ```png```, ```gif```, or +```dia```. This will produce two files in the same directory as the +buildfile, the ```dot``` source and the rendered view of the +dependency graph.