#!/bin/bash

# MADTraC nightly script running currently on poincare.princeton.edu
MT_DIR=~/MT_Safe/MADTraC
MT_WEB_DIR=/var/www/poincare/MADTraC

echo =======================================================
echo === Log of mt-nightly for `date`

cd $MT_DIR
echo === SVN Update
svn update
cd $MT_DIR/docs/doxygen
echo === Creating documentation
doxygen Doxyfile
echo === Creating nightly tarball and zip
tar -pczf $MT_WEB_DIR/latest.tar.gz $MT_DIR/*
zip -r $MT_WEB_DIR/latest.zip $MT_DIR/*
echo === Copying to server
cp -R $MT_DIR/web/* $MT_WEB_DIR
cp -R $MT_DIR/docs/html/* $MT_WEB_DIR/docs

echo === End of log for `date` 
echo =======================================================



#!/bin/bash

# MADTraC nightly script running currently on poincare.princeton.edu
MT_DIR=~/MT_Safe/MADTraC
MT_WEB_DIR=/var/www/poincare/MADTraC

echo =======================================================
echo === Log of mt-nightly for `date`

cd $MT_DIR
echo === SVN Update
svn update
cd $MT_DIR/docs/doxygen
echo === Creating documentation
doxygen Doxyfile
echo === Creating nightly tarball and zip
cd $MT_DIR
cd ..
tar -pczf $MT_WEB_DIR/latest.tar.gz MADTraC
zip -r $MT_WEB_DIR/latest.zip MADTraC
echo === Copying to server
cp -R $MT_DIR/web/* $MT_WEB_DIR
cp -R $MT_DIR/docs/html/* $MT_WEB_DIR/docs

echo === End of log for `date` 
echo =======================================================



Update nightly script to fix tar/zip paths.
[misc] Update nightly script to fix tar/zip paths.

git-svn-id: efee09ee66643ea208db8880d8809c0954bd33d6@105 a658d305-d20c-4271-b950-7aa421b211f3
