summaryrefslogtreecommitdiffstats
path: root/Algorithms/Part-II/1-WordNet/run.sh
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-11-21 18:18:06 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-11-21 18:18:06 +0100
commit4020858e2a7ca3557d6ddfa40ceec0a191ef2605 (patch)
tree7aa6747d6470b24ac384987610f8416a212e1b50 /Algorithms/Part-II/1-WordNet/run.sh
parentb748bc695362b353af08a9d9019876761500012f (diff)
downloadcoursera-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-xAlgorithms/Part-II/1-WordNet/run.sh18
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
+