summaryrefslogtreecommitdiff
path: root/spellchecker/run.sh
blob: e2df2d4ba3548941a1701940ffa94b832ced8dcd (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
classpath="${CLASSPATH:+$CLASSPATH:}"
classpath+=build/classes

# Possible env vars:
#DEBUG_SCORE=1  # Enable debugging of the score
#NO_PEACH=1     # Print less debug information, use peach I/O formats

ant -q -S compile >&2 &&
NO_PEACH=1 \
java -ea -cp "$classpath" SpellChecker