Mercurial Hosting > luan
diff scripts/build-luan.sh @ 1455:1437fb1f0956
add slf4j-goodjava
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 08 Mar 2020 16:50:14 -0600 |
parents | 04482e2a6ca3 |
children | c8f4867fd083 |
line wrap: on
line diff
--- a/scripts/build-luan.sh Sun Mar 08 14:11:30 2020 -0600 +++ b/scripts/build-luan.sh Sun Mar 08 16:50:14 2020 -0600 @@ -1,17 +1,25 @@ set -e cd `dirname $0`/.. +LUANHOME=`pwd` rm -rf build mkdir -p build/luan/jars +cp lib/* build/luan/jars find . -name *.class -delete . classpath.sh -javac -classpath $CLASSPATH `find src -name *.java` -cd src; jar cvf ../build/luan/jars/luan.jar `find . -name *.class -o -name *.luan`; cd .. -cp lib/* build/luan/jars + +cd $LUANHOME/src +javac -classpath $CLASSPATH `find . -name *.java` +jar cvf $LUANHOME/build/luan/jars/luan.jar `find . -name *.class -o -name *.luan` +cd $LUANHOME/slf4j/src +javac -classpath $CLASSPATH `find . -name *.java` +jar cvf $LUANHOME/build/luan/jars/slf4j-goodjava.jar `find . -name *.class -o -name *.luan` + +cd $LUANHOME cp scripts/install.sh build/luan chmod +x build/luan/install.sh cp scripts/uninstall.sh build/luan