basilisp icon indicating copy to clipboard operation
basilisp copied to clipboard

Makefile compatibility issuea with MS-Windows

Open ikappaki opened this issue 1 year ago • 2 comments

The Makefile has several useful commands/shortcuts that are useful for development (such as repl, format and test), though it can't be used out of the box on windows, because the latter doesn't come with a make or other auxiliary tools such as rm.

Because of this, developing basilisp on windows makes life a bit annoying.

Babashka tasks are a Clojure based alternative build facility that can be used to make these actions cross platform, while keeping the simplicity of the Makefile in a familiar language, that is as fast to execute.

Would you consider a PR to migrate the Makefile to babashka, you can always discount it after you have a look at it, (or perhaps suggest alternatives).

Thanks

ikappaki avatar Aug 15 '23 18:08 ikappaki

I'm not entirely against the idea. The main reason I used make/Makefile before is because it was a convenient tool that every Linux/MacOS device has installed by default (thus requiring no additional effort for Linux/MacOS contributors to use those shortcuts), but if we're going to have people developing from Windows then that may no longer be the case (except perhaps in the case of WSL?). Is it challenging to install Babashka? I've never tried myself.

chrisrink10 avatar Aug 16 '23 11:08 chrisrink10

I'm not entirely against the idea. The main reason I used make/Makefile before is because it was a convenient tool that every Linux/MacOS device has installed by default (thus requiring no additional effort for Linux/MacOS contributors to use those shortcuts), but if we're going to have people developing from Windows then that may no longer be the case (except perhaps in the case of WSL?). Is it challenging to install Babashka? I've never tried myself.

Can be installed with brew (or nix) on Linux/Macos https://github.com/babashka/babashka#installation, let me open the PR so that you can have a look when you find the time, thanks

ikappaki avatar Aug 16 '23 12:08 ikappaki