3 ms·
> What if I installed some dependency outside of my project? > What if I made a change to the way the tests are run in the Makefile or a different file not in
by chriswarbo 4y ago
> What if I installed some dependency outside of my project?
> What if I made a change to the way the tests are run in the Makefile or a different file not in ./src? Like running `npm install`?
> What if I want to set an environment variable or pass an argument to the test runner?
Those are all inputs. Unfortunately, Make isn't very good at tracking inputs (or outputs, for that matter: e.g. if we change an input back to some previous value, make will still rebuild rather than using the old result).
These days I find Nix to be a much more sane alternative to Make.