Mercurial Hosting > luan
view scripts/build-luan.sh @ 1214:bae51e2d34c9
fix binary hash_code
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 19 Mar 2018 16:55:05 -0600 |
parents | f2eb8295033f |
children | 040c98e1f837 |
line wrap: on
line source
set -e cd `dirname $0`/.. VERSION=`scripts/version.sh` echo "return '$VERSION'" >src/luan/version.luan 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-$VERSION.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 cd build tar -cf luan-$VERSION.tar luan luan/install.sh echo done