witten
/
luminotes
Archived
1
0
Fork 0

Simple shell script to tar up a release file.

This commit is contained in:
Dan Helfman 2007-08-08 20:12:15 +00:00
parent 4a89afebbf
commit 00e4c69df3
1 changed files with 12 additions and 0 deletions

12
tools/release.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
# Run this from the root directory of Luminotes's source. Note: This will nuke your database!
ORIG_PYTHONPATH="$PYTHONPATH"
PYTHONPATH=.
python2.5 tools/initdb.py
PYTHONPATH="$ORIG_PYTHONPATH"
cd ..
rm -f luminotes.tar.gz
tar cvfz luminotes.tar.gz --exclude=session --exclude="*.log" --exclude="*.pyc" --exclude=".*" luminotes
cd -