blob: 7ec80c52f728b6f7dee70e7ced169eebd95c2f91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#! /bin/bash
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
javac -Xlint ${kls}.java || exit 1
done
$ALGS4/bin/findbugs *.class
java Outcast || exit 1
zip wordnet.zip *.java
|