diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-12-18 09:03:37 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-12-18 09:03:37 +0100 |
commit | 3bfea3f9126bb991a1bdf25428a72e17963abf62 (patch) | |
tree | e068ae61c387560f3ed8ea5ecc152aa021f0ee3e /Algorithms/Part-II/1-WordNet | |
parent | 31f4e08b3b0df3058619da493d15334caa3d4f55 (diff) | |
download | coursera-3bfea3f9126bb991a1bdf25428a72e17963abf62.zip coursera-3bfea3f9126bb991a1bdf25428a72e17963abf62.tar.gz |
Algorithms : install algs4 in gittree/algs4
Diffstat (limited to 'Algorithms/Part-II/1-WordNet')
-rwxr-xr-x | Algorithms/Part-II/1-WordNet/run.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Algorithms/Part-II/1-WordNet/run.sh b/Algorithms/Part-II/1-WordNet/run.sh index 8c01871..7ec80c5 100755 --- a/Algorithms/Part-II/1-WordNet/run.sh +++ b/Algorithms/Part-II/1-WordNet/run.sh @@ -1,16 +1,17 @@ #! /bin/bash -export "CLASSPATH=$CLASSPATH:.:$HOME/algs4/algs4.jar:$HOME/algs4/stdlib.jar" +ALGS4=../../algs4 +export CLASSPATH="$ALGS4/algs4.jar:$ALGS4/stdlib.jar:." CLASSES="SpecializedBFS WordNet SAP Outcast" rm *.class *.zip 2>/dev/null for kls in $CLASSES; do - ~/algs4/bin/checkstyle ${kls}.java + $ALGS4/bin/checkstyle ${kls}.java javac -Xlint ${kls}.java || exit 1 done -~/algs4/bin/findbugs *.class +$ALGS4/bin/findbugs *.class java Outcast || exit 1 |