Author: mis Date: Mon Jan 21 22:07:44 2008 GMT Module: poldek Tag: HEAD ---- Log message: - graphviz repo
---- Files affected: poldek/poldek/tests: dotrepo.sh (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: poldek/poldek/tests/dotrepo.sh diff -u /dev/null poldek/poldek/tests/dotrepo.sh:1.1 --- /dev/null Mon Jan 21 23:07:44 2008 +++ poldek/poldek/tests/dotrepo.sh Mon Jan 21 23:07:39 2008 @@ -0,0 +1,10 @@ +#!/bin/sh +# visualize repository by graphviz + +REPODIR="$1" +[ -n "$REPODIR" ] || exit 1 +[ -d "$REPODIR" ] || exit 1 + +../cli/poldek --st dir -s $REPODIR --depgraph dot:$DIR/graph.dot +dot -Tps $DIR/graph.dot > $DIR/graph.ps +ps2epsi $DIR/graph.ps $DIR/graph.eps \ No newline at end of file ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
