annotate scripts/build_unix.sh @ 12:a491233b39ae

Copy README.txt in build.
author Jeremy Thurgood <firxen@gmail.com>
date Sun, 22 Aug 2010 16:14:12 +0200
parents 0af30585e1b4
children 9fdbfbc02a60
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
1 #!/bin/bash
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
2
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
3 GAME_NAME="captured"
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
4
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
5 mkdir -p build/${GAME_NAME} dist
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
6
12
a491233b39ae Copy README.txt in build.
Jeremy Thurgood <firxen@gmail.com>
parents: 5
diff changeset
7 cp -r README.txt run_game.py gamelib data build/${GAME_NAME}
5
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
8
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
9 cd build
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
10
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
11 # Add albow to our game
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
12 unzip ../deps/Albow-2.1.0.zip
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
13 mv Albow-2.1.0/albow ${GAME_NAME}
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
14 rm -rf Albow-2.1.0
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
15
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
16 tar czf ../dist/${GAME_NAME}.tgz captured
0af30585e1b4 Some "build" scripts.
Jeremy Thurgood <firxen@gmail.com>
parents:
diff changeset
17