https://github.com/jez/mldepgraph
https://github.com/jez/mldepgraph
sml
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jez/mldepgraph
- Owner: jez
- Created: 2018-01-13T21:10:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-13T21:10:44.000Z (over 7 years ago)
- Last Synced: 2025-05-21T01:13:49.145Z (5 months ago)
- Topics: sml
- Language: Awk
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mldepgraph [optons] .du
## TODO
- copy/paste git-madge
- rip out the madge dependency
- replace it with the def-use oneliner below
- make being run from a git repository optional
- distribution channel:
- Homebrew, + note about how to copy files manually
- (download folder somewhere, put /path/to/mldepgraph/bin on your `PATH`)## Implementation
```bash
# TODO(jez) document that it filters to the current directory only
grep $(pwd -P) hw03.du | \
# maybe make this filter optional
grep -v cmlib | \
awk -f "$ROOTDIR/filter.awk" | \
uniq | \
awk -f "$ROOTDIR/to_dot.awk" | \
gvpr -c -f "$STYLESDIR/$STYLE.gv" | \
dot -Tpng | \
imgcat
```