Skip to content

Commit

Permalink
Update test npm and spm for test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hotoo committed May 13, 2014
1 parent 0a88b66 commit 07b1d4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 07b1d4f

Please sign in to comment.