From 07b1d4f266f0e1387c59dcd61e3bc5cb68d4113e Mon Sep 17 00:00:00 2001 From: hotoo Date: Tue, 13 May 2014 11:04:53 +0800 Subject: [PATCH] Update test npm and spm for test. --- Makefile | 4 ++-- package.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6602346..3f5c057 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ server: @nico server -C $(THEME)/nico.js watch: - @nico server -C $(THEME)/nico.js --watch + @spm doc watch clean: @rm -fr _site @@ -36,7 +36,7 @@ test-npm: @node_modules/.bin/mocha -R spec tests/morerule-test.js test-spm: - @node_modules/.bin/mocha-browser ${runner} -S + @node_modules/spm/bin/spm-test test: test-npm test-spm diff --git a/package.json b/package.json index 8ff6ef5..7063080 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ "main": "index.js", "devDependencies": { "jquery": "1.7.2", - "expect": "0.3.1" + "expect": "0.3.1", + "spm": "ninja" }, "tests": "tests/*-spec.js" },