https://github.com/ajsquared/ant-dependency-viewer
A Python script that visualizes the dependency graph of an Ant buildfile
https://github.com/ajsquared/ant-dependency-viewer
Last synced: about 1 year ago
JSON representation
A Python script that visualizes the dependency graph of an Ant buildfile
- Host: GitHub
- URL: https://github.com/ajsquared/ant-dependency-viewer
- Owner: ajsquared
- License: mit
- Created: 2014-07-19T14:43:47.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2020-12-04T22:43:15.000Z (over 5 years ago)
- Last Synced: 2024-04-18T14:34:49.021Z (about 2 years ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.