view dist/scripts/tar-luan.sh @ 306:7f38793a99ee

add tar-luan.sh git-svn-id: https://luan-java.googlecode.com/svn/trunk@307 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Mon, 22 Dec 2014 08:27:08 +0000
parents
children
line wrap: on
line source

. check_luan_home.sh

rm -rf $LUAN_HOME/tar

mkdir $LUAN_HOME/tar
mkdir $LUAN_HOME/tar/luan
mkdir $LUAN_HOME/tar/luan/jars

cp $LUAN_HOME/dist/jars/* $LUAN_HOME/tar/luan/jars
cp $LUAN_HOME/web/ext/* $LUAN_HOME/tar/luan/jars
cp $LUAN_HOME/logging/ext/* $LUAN_HOME/tar/luan/jars
cp $LUAN_HOME/mail/ext/* $LUAN_HOME/tar/luan/jars
cp $LUAN_HOME/lucene/ext/* $LUAN_HOME/tar/luan/jars

cp $LUAN_HOME/dist/scripts/install.sh $LUAN_HOME/tar/luan
chmod +x $LUAN_HOME/tar/luan/install.sh

cd $LUAN_HOME/tar
tar -cf luan.tar luan
mv luan.tar ~/Dropbox/luan

rm -r $LUAN_HOME/tar