Mercurial > skaapsteker
annotate scripts/build_unix.sh @ 579:e4242abff401
Fix name of game.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sun, 10 Apr 2011 15:06:16 +0200 |
parents | 2e181628d0be |
children | 9f3c2c0fcf01 |
rev | line source |
---|---|
560 | 1 #!/bin/bash |
2 | |
579 | 3 GAME_NAME="nine-tales" |
560 | 4 |
577
62666b542afe
Fixed MacOS X packaging, updated .hgignore.
Jeremy Thurgood <firxen@gmail.com>
parents:
570
diff
changeset
|
5 NT_VERSION=`sed -ne 's/VERSION_STR = "\(.*\)"/\1/p' setup.py` |
570 | 6 BUILD_NAME="${GAME_NAME}-${NT_VERSION}" |
7 BUILD_FOLDER="build/${GAME_NAME}" | |
560 | 8 TARBALL_NAME="${BUILD_NAME}.tgz" |
9 | |
10 rm -rf ${BUILD_FOLDER} | |
11 mkdir -p ${BUILD_FOLDER} dist | |
12 | |
578
2e181628d0be
Use "hg archive" instead of "cp -r" for build.
Jeremy Thurgood <firxen@gmail.com>
parents:
577
diff
changeset
|
13 hg archive ${BUILD_FOLDER}/ -I LICENSE.txt -I README.txt -I setup.py -I scripts -I data -I skaapsteker |
560 | 14 |
15 cd build | |
570 | 16 tar czf ../dist/${TARBALL_NAME} ${GAME_NAME} |