summaryrefslogtreecommitdiffstats
path: root/java/do
blob: cf17a560063b690243be35d0140861056997e587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh
BROWN="\033[0;33m"
RESET="\033[0m"
for java in *.java
do
    echo -e "###> $BROWN${java}$RESET <###" && javac $java && java ${java%.java}
    echo
done
echo -e "###> ${BROWN}MyMyBatis$RESET <###"
pushd MyMyBatis > /dev/null
rm -fr build && ant && rm -fr build
popd
rm *.class