changeset 163:2854aa4f5ac2

Update version and build stuff.
author Jeremy Thurgood <firxen@gmail.com>
date Wed, 25 Aug 2010 10:05:48 +0200
parents 225e3a4b1e85
children b317cdd638c2
files gamelib/version.py scripts/build_unix.sh scripts/darwin-py2app.sh
diffstat 3 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/version.py	Wed Aug 25 08:42:29 2010 +0200
+++ b/gamelib/version.py	Wed Aug 25 10:05:48 2010 +0200
@@ -1,6 +1,6 @@
 """Suspended Sentence Version Information"""
 
-VERSION = (0, 1, 0, 'alpha', 1)
+VERSION = (0, 2, 0, 'alpha', 1)
 BASE_VERSION_STR = '.'.join([str(x) for x in VERSION[:3]])
 VERSION_STR = {
     'final': BASE_VERSION_STR,
--- a/scripts/build_unix.sh	Wed Aug 25 08:42:29 2010 +0200
+++ b/scripts/build_unix.sh	Wed Aug 25 10:05:48 2010 +0200
@@ -1,7 +1,8 @@
 #!/bin/bash
 
-GAME_NAME="captured"
+GAME_NAME="suspended-sentence"
 
+rm -rf build/${GAME_NAME}
 mkdir -p build/${GAME_NAME} dist
 
 cp -r COPYING README.txt run_game.py setup.py gamelib Resources build/${GAME_NAME}
--- a/scripts/darwin-py2app.sh	Wed Aug 25 08:42:29 2010 +0200
+++ b/scripts/darwin-py2app.sh	Wed Aug 25 10:05:48 2010 +0200
@@ -4,9 +4,11 @@
 #
 # Usage: darwin-py2app
 
+GAME_NAME="suspended-sentence"
+
 SS_VERSION=`PYTHONPATH=. python -c "from gamelib import version; print version.VERSION_STR"`
-BUILD_NAME="suspended-sentence-${SS_VERSION}"
-BUILD_FOLDER="build/captured"
+BUILD_NAME="${GAME_NAME}-${SS_VERSION}"
+BUILD_FOLDER="build/${GAME_NAME}"
 DMG_NAME="${BUILD_NAME}.dmg"
 PY2APP_LOG="py2app.log"
 
@@ -14,7 +16,6 @@
 
 echo "=== Setting up build environment ==="
 
-./scripts/clean.sh
 ./scripts/build_unix.sh
 
 cd ${BUILD_FOLDER}