diff options
Diffstat (limited to 'Algorithms/Part-II/1-WordNet/run.sh')
-rwxr-xr-x | Algorithms/Part-II/1-WordNet/run.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Algorithms/Part-II/1-WordNet/run.sh b/Algorithms/Part-II/1-WordNet/run.sh new file mode 100755 index 0000000..cd95d44 --- /dev/null +++ b/Algorithms/Part-II/1-WordNet/run.sh @@ -0,0 +1,18 @@ +#! /bin/bash + +export "CLASSPATH=$CLASSPATH:.:$HOME/algs4/algs4.jar:$HOME/algs4/stdlib.jar" + +CLASSES="WordNet SAP Outcast" + +rm *.class *.zip 2>/dev/null + +for kls in $CLASSES; do + ~/algs4/bin/checkstyle ${kls}.java + javac -Xlint ${kls}.java || exit 1 +done +~/algs4/bin/findbugs *.class + +java Outcast || exit 1 + +zip wordnet.zip *.java + |