Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |