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

# Possible env vars:
#DEBUG_PRINTS=1 # Enable debugging output to stderr
#DEBUG_SCORE=1  # Enable debugging of the score. Implies DEBUG_PRINTS=1
#NO_PEACH=1     # Use peach I/O formats

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