Skip to content

Instantly share code, notes, and snippets.

@matgis
matgis / defold-editor-dev-workflow.md
Last active May 23, 2024 07:26
How I work on the Defold Editor

The way I typically work is, I start the editor from the Terminal using lein run.

cd editor
lein run

Then load a project as usual in the editor. If for example I wanted to explore the Sprite component, I'd create a new Sprite somewhere in the project and open it.

From Cursive, I have a Remote REPL run configuration set up, as detailed in our Cursive Setup Guide. When I run it, it will connect to the running editor process I started from the Terminal.

@matgis
matgis / defbuild
Created February 29, 2024 10:00
Simple `zsh` shell script for building the Defold Engine
#!/bin/zsh
# `defbuild` is a quick and simple zsh shell script for rebuilding the stuff the
# Defold editor depends on. It will rebuild the engine runtime, Bob, and the
# builtins, and then run `lein init` so the updated dependencies are available
# to the editor.
#
# Usage:
# ```
# cd defold