4 ms·
A single, system-and-language-agnostic entry point to the actions you want to run with very clear dependency rules built in.
by JamesSwift 5y ago
A single, system-and-language-agnostic entry point to the actions you want to run with very clear dependency rules built in.
- deepsun 5y agoBesides Windows, shell scripts are system-and-language agnostic (not using bash/zsh-specific syntax of course). Also I'm not sure Windows can run Makefiles out-of-the-box.
- JamesSwift 5y agoThe Makefile is the facade to the project. So you can have `make run` do `make run-windows` or `make run-nix` under the hood. And when you change hosts, or you redo the `run-X` targets into a single cross-platform binary or you put it in a Docker container, nothing changes. You don't need to remember that you need to invoke X or Y script. I'm pretty sure git-bash provides `Make` on Windows. I believe thats how I tested it for this project: https://github.com/J-Swift/cod-stats https://github.com/J-Swift/cod-stats