Files
dockerized-swg-src/utils/mocha/build_java.sh
T
2015-08-02 11:38:07 -05:00

19 lines
352 B
Bash
Executable File

#/bin/bash
destination="tmp2"
sourcepath="tmp"
mkdir -p $destination/script
for filename in $(find $sourcepath -name '*.java'); do
ok=1
javac -classpath "$destination" -d "$destination" -sourcepath "$sourcepath" -g -deprecation "$filename" || ok=0
if [ $ok -eq 1 ]; then
echo -n .
else
echo "$filename"
fi
done