Mercurial > skaapsteker
comparison scripts/build_unix.sh @ 560:bad2b38accec
build_unix
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sun, 10 Apr 2011 02:02:06 +0200 |
parents | |
children | f6a0fbf918fd |
comparison
equal
deleted
inserted
replaced
559:c4b14a517500 | 560:bad2b38accec |
---|---|
1 #!/bin/bash | |
2 | |
3 GAME_NAME="nine_tails" | |
4 MODULE_NAME="skaapsteker" | |
5 | |
6 SS_VERSION=`sed -nre 's/VERSION_STR = "(.*)"/\1/p' setup.py` | |
7 BUILD_NAME="${GAME_NAME}-${SS_VERSION}" | |
8 BUILD_FOLDER="build/${MODULE_NAME}" | |
9 TARBALL_NAME="${BUILD_NAME}.tgz" | |
10 | |
11 rm -rf ${BUILD_FOLDER} | |
12 mkdir -p ${BUILD_FOLDER} dist | |
13 | |
14 cp -r LICENSE.txt README.txt setup.py scripts skaapsteker ${BUILD_FOLDER}/ | |
15 cp -r data ${BUILD_FOLDER}/skaapsteker/ | |
16 | |
17 cd build | |
18 tar czf ../dist/${TARBALL_NAME} ${MODULE_NAME} |