How can you build and run from VSCode?

A while back I saw a video where a guy was using vscode to do the programming of a defold project and he had created a task to perform the build and run of the game. I can’t remember what command was called to perform the build/run and I can’t find the video.

Does anyone have any idea how to do this?

1 Like

We provide a command-line tool for building and bundling: https://www.defold.com/manuals/bob/

2 Likes

Here is a bob build script I’m currently using in production

4 Likes

Thanks for the help :slight_smile:

1 Like

The script that is posted here allows you to create a build for various platforms (is this not included in the editor initiated builds?), but is there anyway to run (test) your program from outside the defold editor?

2 Likes

Some global Hotkeys to build and run from editor maybe? or some service to send commands to editor?

1 Like

I think this is possible but I’ve never tried it. Maybe build with compression off, copy dmengine.exe or whatever into place and then run it with command line options?

+1