compile.sh 323 B

123456789101112
  1. #!/bin/bash
  2. set -e
  3. source library.sh
  4. # Leave this here too, as the call might crash early
  5. curl http://localhost:8001 -d "op=set_input&username=user_manager&element_type=V&value=\"$2\"" -s -S >> /dev/null
  6. f=`realpath $1`
  7. cd interface/HUTN
  8. ${python} hutn_compiler/compiler.py $f grammars/actionlanguage.g ${4-PO} $2 $3 $f