Mercurial Hosting > luan
comparison 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 |
comparison
equal
deleted
inserted
replaced
1454:219f2b937f2b | 1455:1437fb1f0956 |
---|---|
1 set -e | 1 set -e |
2 | 2 |
3 cd `dirname $0`/.. | 3 cd `dirname $0`/.. |
4 LUANHOME=`pwd` | |
4 | 5 |
5 rm -rf build | 6 rm -rf build |
6 mkdir -p build/luan/jars | 7 mkdir -p build/luan/jars |
8 cp lib/* build/luan/jars | |
7 | 9 |
8 find . -name *.class -delete | 10 find . -name *.class -delete |
9 | 11 |
10 . classpath.sh | 12 . classpath.sh |
11 javac -classpath $CLASSPATH `find src -name *.java` | |
12 cd src; jar cvf ../build/luan/jars/luan.jar `find . -name *.class -o -name *.luan`; cd .. | |
13 cp lib/* build/luan/jars | |
14 | 13 |
14 cd $LUANHOME/src | |
15 javac -classpath $CLASSPATH `find . -name *.java` | |
16 jar cvf $LUANHOME/build/luan/jars/luan.jar `find . -name *.class -o -name *.luan` | |
17 | |
18 cd $LUANHOME/slf4j/src | |
19 javac -classpath $CLASSPATH `find . -name *.java` | |
20 jar cvf $LUANHOME/build/luan/jars/slf4j-goodjava.jar `find . -name *.class -o -name *.luan` | |
21 | |
22 cd $LUANHOME | |
15 cp scripts/install.sh build/luan | 23 cp scripts/install.sh build/luan |
16 chmod +x build/luan/install.sh | 24 chmod +x build/luan/install.sh |
17 cp scripts/uninstall.sh build/luan | 25 cp scripts/uninstall.sh build/luan |
18 cp scripts/jvm.java.security build/luan | 26 cp scripts/jvm.java.security build/luan |
19 | 27 |