From d36482659c8c5320dbac98bd89825027c888d777 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Wed, 18 Sep 2013 16:32:42 +0200 Subject: [PATCH] install missing node modules locally --- test/Makefile | 12 ++++++++++-- test/README.txt | 4 +--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/test/Makefile b/test/Makefile index 8f90995..532e776 100644 --- a/test/Makefile +++ b/test/Makefile @@ -2,7 +2,11 @@ all: check -clean distclean: +clean: + +distclean: + rm -rf node_modules + check: jasmine-node ./spec @@ -14,5 +18,9 @@ jsbeautifier jsb indent: jsbeautifier -j $$i > $@.tmp && mv -f $@.tmp $$i; \ done +node-modules: node_modules +node_modules: + npm install jquery jsdom request jasmine-node + help: - @echo "make [ all | clean | check | jsbeautifier ]" + @echo "make [ all | clean | check | jsbeautifier | node-modules ]" diff --git a/test/README.txt b/test/README.txt index 86ca30f..6c6b504 100644 --- a/test/README.txt +++ b/test/README.txt @@ -35,9 +35,7 @@ https://github.com/pivotal/jasmine Installation ------------------------------------- 1. install node.js, see http://nodejs.org/ -2. install node modules with npm - -npm install jquery jsdom request jasmine-node +2. install node modules with npm: make node-modules -- Copyright (c) 2013 IndexData ApS. http://indexdata.com -- 1.7.10.4