diff options
-rwxr-xr-x | c/do | 5 | ||||
-rwxr-xr-x | java/do | 6 |
2 files changed, 9 insertions, 2 deletions
@@ -1,6 +1,9 @@ #! /bin/sh +BROWN="\033[0;33m" +RESET="\033[0m" for c in *.c do - echo "############" && clang -pedantic -Wall -ldl $c -o ./bin && ./bin + echo -e "###> $BROWN${c}$RESET <###" && clang -pedantic -Wall -ldl $c -o ./bin && ./bin + echo done rm ./bin @@ -1,8 +1,12 @@ #! /bin/sh +BROWN="\033[0;33m" +RESET="\033[0m" for java in *.java do - echo "############" && javac $java && java ${java%.java} + 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 |