about summary refs log tree commit diff stats
path: root/pre.sh
blob: c361e7566aa38c3bed1a1d119650564b41acd486 (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 -y
sudo apt upgrade -y

# 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