comparison scripts/build-luan.sh @ 692:7bd97d642f37

delete class files in build
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 18 Apr 2016 20:40:21 -0600
parents 8a217fe5b4f3
children 11839152caef
comparison
equal deleted inserted replaced
691:5b9c7f8529ee 692:7bd97d642f37
12 mkdir $LUAN_BUILD/luan 12 mkdir $LUAN_BUILD/luan
13 mkdir $LUAN_BUILD/luan/jars 13 mkdir $LUAN_BUILD/luan/jars
14 14
15 cd $LUAN_HOME 15 cd $LUAN_HOME
16 echo "return 'Luan $VERSION'" >core/src/luan/version.luan 16 echo "return 'Luan $VERSION'" >core/src/luan/version.luan
17 find . -name *.class -delete
17 18
18 cd $LUAN_HOME 19 cd $LUAN_HOME
19 SRC=core/src 20 SRC=core/src
20 CLASSPATH=$LUAN_HOME/$SRC 21 CLASSPATH=$LUAN_HOME/$SRC
21 javac -classpath $CLASSPATH `find $SRC -name *.java` 22 javac -classpath $CLASSPATH `find $SRC -name *.java`