view python/trunner2.sh @ 269:5f8c04a8d26b

Towards better modularity
author Windel Bouwman
date Sun, 18 Aug 2013 17:43:18 +0200
parents
children ea93e0a7a31e
line wrap: on
line source

#!/usr/bin/bash

DIR=.
while :; do
  python tcodegen.py

  # Create svg from dot file:
  dot -Tpdf -o cfg.pdf cfg.gv
  dot -Tpdf -o ig.pdf ig.gv
  echo "Awaiting changes in $DIR"
  inotifywait -r -e modify $DIR
done