Skip to content

Commit

Permalink
chore(makefile): do not use shrinkwrap file to run nap check (#1482)
Browse files Browse the repository at this point in the history
  • Loading branch information
hekike authored and yunong committed Sep 10, 2017
1 parent 011fdf0 commit 33b0e90
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Expand Up @@ -31,9 +31,8 @@ NPM := npm
#
DOC_FILES = index.restdown
JS_FILES = '.'
SHRINKWRAP = npm-shrinkwrap.json

CLEAN_FILES += node_modules $(SHRINKWRAP) cscope.files
CLEAN_FILES += node_modules cscope.files

include ./tools/mk/Makefile.defs

Expand Down Expand Up @@ -65,9 +64,7 @@ test: $(NODEUNIT)

.PHONY: nsp
nsp: node_modules $(NSP)
@$(NPM) shrinkwrap --dev
@($(NSP) check) | $(NSP_BADGE)
@rm $(SHRINKWRAP)

include ./tools/mk/Makefile.deps
include ./tools/mk/Makefile.targ

0 comments on commit 33b0e90

Please sign in to comment.