Skip to content

Commit

Permalink
adds windows support
Browse files Browse the repository at this point in the history
Updated to work with Windows.
  • Loading branch information
Matt Hernandez committed Sep 4, 2015
1 parent d9ac38f commit 73b12c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib/build.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const ChildProcess = require('child_process');
const Spawn = require('win-spawn');

const Hoek = require('hoek');
const Util = require('util');
Expand Down Expand Up @@ -29,7 +29,7 @@ module.exports = function (options, done) {

if (options.debug) args.push('--debug');

var build = ChildProcess.spawn('meteor', args, { cwd: options.input, stdio: 'inherit' });
var build = Spawn('meteor', args, { cwd: options.input, stdio: 'inherit' });

build.on('error', function (err) {
done(err);
Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,15 @@
"url": "https://github.com/OnModulus/demeteorizer"
},
"dependencies": {
"async": "0.2.10",
"commander": "1.1.1",
"commander": "2.8.1",
"hoek": "2.x.x",
"rimraf": "2.3.2",
"semver": "3.0.1"
"win-spawn": "2.0.0"
},
"devDependencies": {
"code": "1.x.x",
"lab": "5.x.x",
"proxyquire": "1.0.1",
"sinon": "1.10.3"
"proxyquire": "1.7.1",
"sinon": "1.16.1"
},
"scripts": {
"test": "lab --lint --coverage",
Expand Down

0 comments on commit 73b12c2

Please sign in to comment.