annotate python/trunner2.sh @ 271:cf7d5fb7d9c8

Reorganization
author Windel Bouwman
date Tue, 20 Aug 2013 18:56:02 +0200
parents 5f8c04a8d26b
children ea93e0a7a31e
rev   line source
269
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
1 #!/usr/bin/bash
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
2
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
3 DIR=.
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
4 while :; do
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
5 python tcodegen.py
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
6
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
7 # Create svg from dot file:
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
8 dot -Tpdf -o cfg.pdf cfg.gv
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
9 dot -Tpdf -o ig.pdf ig.gv
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
10 echo "Awaiting changes in $DIR"
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
11 inotifywait -r -e modify $DIR
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
12 done
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
13
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
14
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents:
diff changeset
15