diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-21 18:18:06 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-21 18:18:06 +0100 |
commit | 4020858e2a7ca3557d6ddfa40ceec0a191ef2605 (patch) | |
tree | 7aa6747d6470b24ac384987610f8416a212e1b50 /Algorithms/Part-II/1-WordNet/run.sh | |
parent | b748bc695362b353af08a9d9019876761500012f (diff) | |
download | coursera-4020858e2a7ca3557d6ddfa40ceec0a191ef2605.zip coursera-4020858e2a7ca3557d6ddfa40ceec0a191ef2605.tar.gz |
Algorithms-II : 1-WordNet: add prototypes and data
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 + |