commit | 6ef337bb8d0ed9de64bdd4d1b3976dd49483d728 | [log] [tgz] |
---|---|---|
author | Han Seoul-Oh <laughinghan@gmail.com> | Mon Aug 14 22:51:02 2017 -0700 |
committer | GitHub <noreply@github.com> | Mon Aug 14 22:51:02 2017 -0700 |
tree | bb5a09a078fef70fcdd64842d15db05f39301bd6 | |
parent | 10ac8f05b783293558c5acf2ad2310ca75faaa8b [diff] | |
parent | 9f1a8de0e2710404fd92bd3f2d3985a8313ab7ca [diff] |
#715: [Makefile] Wipe node_modules if not properly installed
diff --git a/Makefile b/Makefile index b8d12ef..906bfa0 100644 --- a/Makefile +++ b/Makefile
@@ -140,6 +140,7 @@ $(SED_IN_PLACE) s/{VERSION}/v$(VERSION)/ $@ $(NODE_MODULES_INSTALLED): package.json + test -e $(NODE_MODULES_INSTALLED) || rm -rf ./node_modules/ # robust against previous botched npm install NODE_ENV=development npm install touch $(NODE_MODULES_INSTALLED)