annotate python/trunner2.sh @ 269:5f8c04a8d26b

Towards better modularity
author Windel Bouwman
date Sun, 18 Aug 2013 17:43:18 +0200
parents
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