Browse files

make npm test work on linux

  • Loading branch information...
1 parent ec90445 commit 7b1a48a7d694ae099aab8d6a1e8ab9d3122808d2 @paulbaumgart paulbaumgart committed Sep 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 package.json
View
2 package.json
@@ -10,7 +10,7 @@
},
"main": "jsbundle.js",
"scripts": {
- "test": "find test -name \"test*.js\" | xargs node_modules/vows/bin/vows && JSBUNDLE_ENV=production bin/jsbundle . > test/fixtures/browser-test.js && open test/fixtures/browser-test.html"
+ "test": "find test -name \"test*.js\" | xargs node_modules/vows/bin/vows && JSBUNDLE_ENV=production bin/jsbundle . > test/fixtures/browser-test.js && \"$(which open || which xdg-open)\" test/fixtures/browser-test.html"
},
"bin": {
"devcdn": "./bin/devcdn",

0 comments on commit 7b1a48a

Please sign in to comment.