Based on @karl-zylinski's template. Uses task for automation and is more bare-bones, code-wise.
# Creates a `build/dev` folder for executable and libraries,
# and copies vendor libraries to that folder too.
# With `-w`, it watches for changes in `lib/**/*.odin` files,
# and recompiles the game library on detection.
task dev:lib -w
Then, in another terminal:
# Runs the development executable
task dev:run
Modify game library code and watch the changes show up once recompilation is done.
To build and run:
task release:build && task release:run
- Clean up old game libraries after we're done with
dev:lib -w
- Include some assets and watch for changes there as well