Mercurial Hosting > luan
comparison scripts/build-luan.sh @ 806:49cbf6ee529f
include property files in build
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 07 Sep 2016 22:50:42 -0600 |
parents | fc3e366caa51 |
children | 0d884377e923 |
comparison
equal
deleted
inserted
replaced
805:fc3e366caa51 | 806:49cbf6ee529f |
---|---|
18 | 18 |
19 CLASSPATH=$LUAN_HOME/src | 19 CLASSPATH=$LUAN_HOME/src |
20 for i in $LUAN_HOME/lib/* ; do CLASSPATH=$CLASSPATH:$i ; done | 20 for i in $LUAN_HOME/lib/* ; do CLASSPATH=$CLASSPATH:$i ; done |
21 cd src | 21 cd src |
22 javac -classpath $CLASSPATH `find . -name *.java` | 22 javac -classpath $CLASSPATH `find . -name *.java` |
23 jar cvf $LUAN_BUILD/luan/jars/luan-$VERSION.jar `find . -name *.class -o -name *.luan -o -name *.css` | 23 jar cvf $LUAN_BUILD/luan/jars/luan-$VERSION.jar `find . -name *.class -o -name *.luan -o -name *.css -o -name *.properties` |
24 cp $LUAN_HOME/lib/* $LUAN_BUILD/luan/jars | 24 cp $LUAN_HOME/lib/* $LUAN_BUILD/luan/jars |
25 | 25 |
26 cp $LUAN_HOME/scripts/install.sh $LUAN_BUILD/luan | 26 cp $LUAN_HOME/scripts/install.sh $LUAN_BUILD/luan |
27 chmod +x $LUAN_BUILD/luan/install.sh | 27 chmod +x $LUAN_BUILD/luan/install.sh |
28 cp $LUAN_HOME/scripts/uninstall.sh $LUAN_BUILD/luan | 28 cp $LUAN_HOME/scripts/uninstall.sh $LUAN_BUILD/luan |