Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade deps and avoid relying on unix commands #447

Merged
merged 1 commit into from Sep 21, 2015
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Upgrade deps and avoid relying on unix commands

  • Loading branch information
Marsup committed Sep 19, 2015
commit 1b6e095d76af003ee500b2b75f116762485900e0
@@ -4,16 +4,21 @@ if (process.env.ROOT_SPAWN) {
require('../test_runner/cli').run();
}
else {
var ChildProcess = require('child_process');
var Cpr = require('cpr');
var Rimraf = require('rimraf');

ChildProcess.exec('rm -rf test_runner && cp -rf lib test_runner', function (err) {
Cpr('./lib', './test_runner', { deleteFirst: true }, function (err) {

if (err) {
throw err;
}

process.env.ROOT_SPAWN = true;
require('../test_runner/cli').run();
});
});

process.on('exit', function (code) {

ChildProcess.exec('rm -rf test_runner', function (err) {});
Rimraf.sync('./test_runner');
});
}
@@ -12,8 +12,8 @@
},
"dependencies": {
"bossy": "1.x.x",
"diff": "1.x.x",
"eslint": "1.4.x",
"diff": "2.x.x",
"eslint": "1.5.x",
"eslint-config-hapi": "2.x.x",
"eslint-plugin-hapi": "1.x.x",
"espree": "2.x.x",
@@ -29,7 +29,9 @@
},
"devDependencies": {
"code": "1.x.x",
"lab-event-reporter": "1.x.x"
"cpr": "^0.4.2",
"lab-event-reporter": "1.x.x",
"rimraf": "^2.4.3"
},
"bin": {
"lab": "./bin/lab"
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.