diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-29 07:47:31 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-29 07:47:31 +0200 |
commit | 173b19110509b3795d8541e493f74c10827743fc (patch) | |
tree | 4678cca98224bfefb212ab2aad75f3d336a66148 /java | |
parent | cff96405fecf003070e6f8bcc7a7a1757531de80 (diff) | |
download | share-173b19110509b3795d8541e493f74c10827743fc.zip share-173b19110509b3795d8541e493f74c10827743fc.tar.gz |
improve readability in do scripts
Diffstat (limited to 'java')
-rwxr-xr-x | java/do | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |