render.sh 280 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
# requires skill-tree: github.com/nikomatsakis/skill-tree

render () {
	echo "Rendering $1"
	skill-tree $1.toml output
	python3 -c "from graphviz import render; render('dot', 'png', 'output/skill-tree.dot')"
	mv output/skill-tree.dot.png "$1.png"
	rm -rf output
}

render phase-1