Skip to content

GameDrivenDesign/docker-godot-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godot Export

This repository contains tools and scripts to export your Godot games. We provide configuration templates for two continuous integration services (TravisCI and AppVeyor). Both can be used to automatically export your games whenever you push or create a tag in your GitHub repositories. You can also use the provided Docker image by itself.

Dockerfile

Use this Dockerfile to automatically export your game. Choose the Godot version you want to use as the Docker image tag (e.g., 3.0.2 as shown below). Supported Godot versions can be found here. If your version is not available, please open an issue in this repository. Make sure that you have created an export_presets.cfg file with all necessary export templates as described in the Godot documentation.

Set EXPORT_NAME to your template's name and OUTPUT_FILENAME accordingly. Add two volumes, one from your repository to /build/src and another to /build/output where the product will be stored.

E.g. inside your game's main folder (find the product in /tmp/output):

docker run \
	-e EXPORT_NAME="HTML5" \
	-e OUTPUT_FILENAME="index.html" \
	-v $(pwd):/build/src -v /tmp/output:/build/output gamedrivendesign/godot-export:3.0.2

Travis Integration

We provide a fairly well documented template .travis.yml file for you to copy into your own repository. The build is using the docker image also provided in here. The TravisCI configuration supports:

  1. Exporting the Linux/Windows/Mac versions of the game whenever a git tag is created and adding them to the GitHub Releases.
  2. Exporting the HTML5 version of the game and pushing it to GitHub Pages.

AppVeyor Integration

We provide a fairly well documented template appveyor.yml file for you to copy into your own repository. The AppVeyor configuration supports:

  1. Exporting the Linux/Windows/Mac versions of the game whenever a git tag is created and adding them to the GitHub Releases.

It does not support pushing to GitHub Pages.

Contributing

If you have any issues, comments or improvements, feel free to open a pull request or an issue!