Mercurial Hosting > luan
view scripts/build-luan.sh @ 1397:0dc9837c16be
fix lucene issues
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 11 Sep 2019 01:31:21 -0600 |
parents | 04482e2a6ca3 |
children | 1437fb1f0956 |
line wrap: on
line source
set -e cd `dirname $0`/.. rm -rf build mkdir -p 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 cp scripts/install.sh build/luan chmod +x build/luan/install.sh cp scripts/uninstall.sh build/luan cp scripts/jvm.java.security build/luan cd build VERSION=`java -classpath $CLASSPATH luan.Luan classpath:luan/version.luan` tar -cf luan-$VERSION.tar luan luan/install.sh echo done