Changeset 570:f6a0fbf918fd


Ignore:
Timestamp:
04/10/11 00:36:06 (12 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Rebase:
61306161353731623135346537383837623839663961613432393535646137643665313835323039
Message:

Packaging scripts

Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/build_unix.sh

    r560 r570  
    11#!/bin/bash
    22
    3 GAME_NAME="nine_tails"
    4 MODULE_NAME="skaapsteker"
     3GAME_NAME="nine-tails"
    54
    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}"
     5NT_VERSION=`sed -nre 's/VERSION_STR = "(.*)"/\1/p' setup.py`
     6BUILD_NAME="${GAME_NAME}-${NT_VERSION}"
     7BUILD_FOLDER="build/${GAME_NAME}"
    98TARBALL_NAME="${BUILD_NAME}.tgz"
    109
     
    1211mkdir -p ${BUILD_FOLDER} dist
    1312
    14 cp -r LICENSE.txt README.txt setup.py scripts skaapsteker ${BUILD_FOLDER}/
    15 cp -r data ${BUILD_FOLDER}/skaapsteker/
     13cp -r LICENSE.txt README.txt setup.py scripts data skaapsteker ${BUILD_FOLDER}/
    1614
    1715cd build
    18 tar czf ../dist/${TARBALL_NAME} ${MODULE_NAME}
     16tar czf ../dist/${TARBALL_NAME} ${GAME_NAME}
  • setup.py

    r560 r570  
    1515
    1616setup   (   # Metadata
    17             name = "nine_tales",
     17            name = "nine-tales",
    1818            version = VERSION_STR,
    1919            description = "Nine Tales of the Kitsune: Platformer for PyWeek 12",
Note: See TracChangeset for help on using the changeset viewer.