Skip to content

Commit 7eee31b

Browse files
committed
Added PEX build script
1 parent c360742 commit 7eee31b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+111
-64
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ field.json
44
game.lock
55
.vscode
66
dev/
7+
build/
8+
PythonFarmGame.pex

build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/bash
2+
cd "$(dirname "$0")"
3+
4+
rm -R build/
5+
mkdir build/
6+
cp -r data build/
7+
cp dejavusansmono.ttf build/
8+
pex . pygame -c main -o build/PythonFarmGame.pex
9+
cp build/PythonFarmGame.pex .

data/images.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
2-
"imagesdata":{
3-
"seed":"images/seedstartgrow.png",
4-
"seedhalfgrow":"images/seedhalfgrow.png",
5-
"seedfullgrow":"images/seedfullgrow.png",
6-
"dryground":"images/dryground.png",
7-
"wetground":"images/wetground.png",
8-
"background":"images/gui/background.png",
9-
"mainmenubg":"images/gui/mainmenubg.png",
10-
"sickle":"images/sickle.png",
11-
"plant":"images/plant.png",
12-
"wateringcan":"images/wateringcan.png",
13-
"shovel":"images/shovel.png",
14-
"pickaxe":"images/pickaxe.png",
15-
"axe":"images/axe.png",
16-
"inventory":"images/gui/inventory.png",
17-
"grid":"images/grid.png",
18-
"grid2":"images/grid2.png",
19-
"marketbutton":"images/gui/marketbutton.png",
20-
"inventorybutton":"images/gui/inventorybutton.png",
21-
"marketbg":"images/gui/marketbg.png"
2+
"imagesdata": {
3+
"seed": "data/images/seedstartgrow.png",
4+
"seedhalfgrow": "data/images/seedhalfgrow.png",
5+
"seedfullgrow": "data/images/seedfullgrow.png",
6+
"dryground": "data/images/dryground.png",
7+
"wetground": "data/images/wetground.png",
8+
"background": "data/images/gui/background.png",
9+
"mainmenubg": "data/images/gui/mainmenubg.png",
10+
"sickle": "data/images/sickle.png",
11+
"plant": "data/images/plant.png",
12+
"wateringcan": "data/images/wateringcan.png",
13+
"shovel": "data/images/shovel.png",
14+
"pickaxe": "data/images/pickaxe.png",
15+
"axe": "data/images/axe.png",
16+
"inventory": "data/images/gui/inventory.png",
17+
"grid": "data/images/grid.png",
18+
"grid2": "data/images/grid2.png",
19+
"marketbutton": "data/images/gui/marketbutton.png",
20+
"inventorybutton": "data/images/gui/inventorybutton.png",
21+
"marketbg": "data/images/gui/marketbg.png"
2222
}
23-
}
23+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)