Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Latest commit

 

History

History
29 lines (20 loc) · 1.17 KB

DEVELOPERS.md

File metadata and controls

29 lines (20 loc) · 1.17 KB

Developer Documentation

Directory Structure

  • game: Contains the game code and assets
  • wrapper: This is just a small hack to improve the compile times of the game. Don't mess with anything in here

Building for release

These steps should only be followed by whoever is building the final game executables for release. This is not needed for development.

Firstly, ensure the docker images are built:

docker build -t ldjam_49_x86_64_unknown_linux_gnu_build_env -f ./bundle/docker/x86_64-unknown-linux-gnu.dockerfile .

Then, build in release mode for targeted platforms:

cross build --release --target x86_64-unknown-linux-gnu
cross build --release --target x86_64-pc-windows-gnu

The resulting binaries will be in the target directory. Make sure to rename the executables before release.