defold-project-build

Automate Defold project builds via the running editor port.

11|Updated Oct 10, 2024
One-click install
npx skills add https://github.com/selimanac/defold-daabbcc3d --skill defold-project-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: defold-project-build
Source: https://github.com/selimanac/defold-daabbcc3d/tree/main/.agents/skills/defold-project-build
Command: npx skills add https://github.com/selimanac/defold-daabbcc3d --skill defold-project-build

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates building Defold projects by communicating with a running Defold editor, capturing build results, and launching the game on success.

Core Features & Use Cases

  • Build and run a Defold project by sending commands to the running editor.
  • Report build failures with detailed issues and resource references.
  • Suitable for local development and CI workflows where the editor is accessible and the project is loaded.

Quick Start

Open the Defold editor with your project and issue a build command to compile and launch the game.

Frequently Asked Questions about defold-project-build

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Defold project builds from the editor?

Automate Defold project builds by reading the editor port from .internal/editor.port and posting a command to /command/build. This triggers the running Defold editor to compile and launch the game automatically.

Can I trigger a Defold build and run from a CI pipeline?

Yes, you can trigger a Defold build from CI pipelines if the Defold editor is running with the project open and the editor port is accessible. The automation posts to the editor API to compile and launch the game.

What is the Defold editor API build command process?

The Defold editor API build command process involves communicating with a running editor instance via its exposed port. It sends a POST request to compile the project and returns a JSON object containing success status and any build issues.

Does automating a Defold build require the editor to be running?

Yes, automating a Defold build requires the editor to be running locally or in CI with the project loaded. The automation relies on interacting with the active editor instance through its available editor port.

How do I report build failures when automating Defold compilation?

Report build failures when automating Defold compilation by parsing the JSON object returned from the build command. This object contains detailed build issues and resource references to guide error reporting and debugging.

Why is my automated Defold build not working in CI?

An automated Defold build fails in CI if the Defold editor is not running, the project is not open, or the editor port is unavailable. The automation depends on reading .internal/editor.port to communicate with the active editor.