blob: cd95d4451568a6870398b177662851a76b0aa138 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|