view scripts/build_unix.sh @ 663:b67fdd4a152d pyntnclick

Readd buttons to rect_drawer - now with extra crashy bits
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 12 Feb 2012 16:46:57 +0200
parents 44d4e3020874
children 096a568d98aa
line wrap: on
line source

#!/bin/bash

GAME_NAME="suspended-sentence"

SS_VERSION=`PYTHONPATH=. python -c "from gamelib import version; print version.VERSION_STR"`
BUILD_NAME="${GAME_NAME}-${SS_VERSION}"
BUILD_FOLDER="build/${GAME_NAME}"
TARBALL_NAME="${BUILD_NAME}.tgz"

rm -rf ${BUILD_FOLDER}
mkdir -p ${BUILD_FOLDER} dist

cp -r COPYING README.txt run_game.py setup.py docs tools gamelib Resources ${BUILD_FOLDER}/

cd build

tar czf ../dist/${TARBALL_NAME} ${GAME_NAME}