anthdm / superkit

MIT License
1.03k stars 88 forks source link

Made Makefile work with Windows #10

Closed PierreFinnimore closed 5 months ago

PierreFinnimore commented 5 months ago

There are two main changes here:

  1. Made the main path reference the created .exe files to fix errors relating to those files needing to be .exe
  2. Use Arelo instead of Air for sync_assets because Air always requires a binary and unfortunately Windows has no 'true' binary to reference.

If a future Air update stops requiring a binary, or allows some command line bypass, part 2 could be removed.

I haven't changed the 'build' command, as I am unsure if you actually want to output an .exe, since you are likely deploying on linux anyway. This just fixes the dev experience, and at least for me meant that I didn't need to run anything other than make dev in a single terminal.