-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Is your feature request related to a problem? Please describe.
There is no easy way to run examples without manually replacing the contents of main.lua and reverting them back when you're done
Describe the solution you'd like
I imagine a simple run-example script in bash or even lua that works something like this:
./run-example.sh chess-set
It can hold the starter repo main.lua contents in memory, and overwrite the file with the example you pass as command, then once Love2D exits, it reverts the contents for you.
Describe alternatives you've considered
A task runner like just would be really nice here, make life a lot simpler. The reason I suggest this is because the repo will soon have a linter, and possibly also tests very soon (which there none). The devex would be very much simplified by having all of these commonly performed tasks accessible through a unified interface