Browse Source

Fix for running npm all the time unnecessarily

refactor
Matt Godbolt 11 years ago
parent
commit
b070d15207
  1. 0
      .npm-updated
  2. 5
      Makefile

0
.npm-updated

5
Makefile

@ -7,10 +7,13 @@ else
default: run
endif
node_modules: package.json
NODE_MODULES=.npm-updated
$(NODE_MODULES): package.json
npm install
@touch $@
node_modules: $(NODE_MODULES)
clean:
rm -rf node_modules
.PHONY: clean run

Loading…
Cancel
Save