about summary refs log tree commit diff stats
path: root/pre.sh
blob: 824ea8c7a5aed1b92f9b548fab8abfafbac2be98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -eu

# Execute commands before building.                                            #
# Below is an example.                                                         #

# Build user implied to have sudo access to apt update and upgrade             #
sudo apt update
sudo apt upgrade

# Including assets with game code is usually a bad idea, so we grab the assets #
# from a mirror.                                                               #
wget https://www.example.com/project/game_assets.zip
unzip game_assets.zip

exit 0