charlierudolph / dependency-lint

Lints NPM dependencies and devDependencies
MIT License
14 stars 6 forks source link

support for Makefile #50

Open kevgo opened 6 years ago

kevgo commented 6 years ago

Gnu Make is the most common task runner, used on a lot of projects, including many NodeJS projects. Dependency-Lint should support it.

The syntax of a Makefile is pretty similar to bash files. An example Makefile is at https://github.com/Originate/text-runner/blob/master/Makefile

charlierudolph commented 6 years ago

Can you list the makefile as part of the shell scripts? Since its similar to a shell script in how its executing the module, I would expect that to work

kevgo commented 6 years ago

I have created an example PR to demonstrate that this doesn't work (or I am doing something wrong): https://github.com/Originate/text-runner/pull/398

What do you think?