github.com/mit-dci/lit@v0.0.0-20221102210550-8c3d3b49f2ce/scripts/gendepgraph.sh (about)

     1  #!/bin/bash
     2  
     3  out=docs/deps.png
     4  
     5  if [ -n "$1" ]; then
     6  	out=$1
     7  fi
     8  
     9  source 'build/env.sh'
    10  godepgraph -s . | sed 's/github.com\/mit-dci\/lit\///' | dot -Tpng -o $out