diff options
Diffstat (limited to 'pre.sh')
-rwxr-xr-x | pre.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pre.sh b/pre.sh index 0d614ed..824ea8c 100755 --- a/pre.sh +++ b/pre.sh @@ -1,5 +1,16 @@ #!/bin/sh +set -eu -# Execute commands before building. # +# 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 |