Hi everyone!
Today I built gdexporter, a project which let you build GDevelop games through command line fast and easily, for usage in CI for example. Right now it only has html5 export support.
Installation:
You only need node. Do:
npm i -g gdexporter
To install. You can also install the latest dev version by cloning the repository, npm install and npm link:
git clone https://github.com/arthuro555/gdexporter
cd gdexporter
npm i
npm link
Usage:
gdexport [--in path/to/game.json] [--out path/to/output/directory]
By default, it assumes the project is located in ./Project/game.json, and exports to ./Exported. To use custom paths use the in and out parameter.
Real life Example on a CI:
Here is an example repository that autobuilds the game on every commit to master:
Link to the automatically built game:
https://gdevelop-game.github.io/GDevelop-Open-Game/
Enjoy!