HN2
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ReadTheLicense
on Aug 12, 2022
|
parent
|
context
|
favorite
| on:
The Unreasonable Effectiveness of Makefiles
This is standard in Node.js ecosystem and I love it. Each package has scripts in package.json that you can run with
npm run [name]
, and some of these like start, test or build (and more) are standardized. It's really great DX.
patrickthebold
on Aug 12, 2022
[–]
But it's npm, so when you switch to a java project, for example, you have different commands.
r3trohack3r
on Aug 12, 2022
|
parent
[–]
Quite a few companies I've contracted with have lifted the pattern up into Bazel or Gnu Make - for node projects `make lint` can be a pass through.
In the project repo, either work.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: