Commit c7430592 by Andrew Nesbitt

Merge pull request #317 from nschonni/fix-shelljs-on-windows

Fix ShellJS resolutions on Windows
parents ef7298de 82b30e37
...@@ -5,4 +5,7 @@ ...@@ -5,4 +5,7 @@
require("shelljs/make"); require("shelljs/make");
exec("jshint ."); var path = require("path");
var JSHINT_BIN = ["node_modules", ".bin", "jshint"].join(path.sep);
exec(JSHINT_BIN + " .");
...@@ -5,4 +5,7 @@ ...@@ -5,4 +5,7 @@
require("shelljs/make"); require("shelljs/make");
exec("mocha test"); var path = require("path");
var mocha = ["node_modules", ".bin", "mocha"].join(path.sep);
exec(mocha + " test");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment