mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-13 19:12:49 +00:00
updated package.json
This commit is contained in:
3
node_modules/forever/test/core/daemonic-inheritance-test.js
generated
vendored
3
node_modules/forever/test/core/daemonic-inheritance-test.js
generated
vendored
@@ -9,7 +9,6 @@
|
||||
var assert = require('assert'),
|
||||
path = require('path'),
|
||||
fs = require('fs'),
|
||||
spawn = require('child_process').spawn,
|
||||
vows = require('vows'),
|
||||
forever = require('../../lib/forever');
|
||||
|
||||
@@ -59,4 +58,4 @@ vows.describe('forever/core/startDaemon').addBatch({
|
||||
}
|
||||
}
|
||||
}
|
||||
}).export(module);
|
||||
}).export(module);
|
||||
|
||||
19
node_modules/forever/test/core/start-stop-relative-test.js
generated
vendored
19
node_modules/forever/test/core/start-stop-relative-test.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* start-stop-relative.js: start or stop forever using relative paths, the script path could be start with './', '../' ...
|
||||
* start-stop-relative-test.js: start or stop forever using relative paths, the script path could be start with './', '../' ...
|
||||
*
|
||||
* (C) 2010 Charlie Robbins & the Contributors
|
||||
* MIT LICENCE
|
||||
@@ -9,20 +9,11 @@
|
||||
var assert = require('assert'),
|
||||
path = require('path'),
|
||||
fs = require('fs'),
|
||||
spawn = require('child_process').spawn,
|
||||
vows = require('vows'),
|
||||
forever = require('../../lib/forever');
|
||||
forever = require('../../lib/forever'),
|
||||
runCmd = require('../helpers').runCmd;
|
||||
|
||||
function runCmd(cmd, args) {
|
||||
var proc = spawn(process.execPath, [
|
||||
path.resolve(__dirname, '../../', 'bin/forever'),
|
||||
cmd
|
||||
].concat(args), {detached: true});
|
||||
|
||||
proc.unref();
|
||||
}
|
||||
|
||||
vows.describe('forever/core/start-stop-peaceful').addBatch({
|
||||
vows.describe('forever/core/start-stop-relative').addBatch({
|
||||
"When using forever" : {
|
||||
"to run script with relative script path" : {
|
||||
topic: function () {
|
||||
@@ -57,4 +48,4 @@ vows.describe('forever/core/start-stop-peaceful').addBatch({
|
||||
}
|
||||
}
|
||||
}
|
||||
}).export(module);
|
||||
}).export(module);
|
||||
|
||||
21
node_modules/forever/test/core/stopbypid-peaceful-test.js
generated
vendored
21
node_modules/forever/test/core/stopbypid-peaceful-test.js
generated
vendored
@@ -7,20 +7,11 @@
|
||||
*/
|
||||
|
||||
var assert = require('assert'),
|
||||
path = require('path'),
|
||||
fs = require('fs'),
|
||||
spawn = require('child_process').spawn,
|
||||
vows = require('vows'),
|
||||
forever = require('../../lib/forever');
|
||||
|
||||
function runCmd(cmd, args) {
|
||||
var proc = spawn(process.execPath, [
|
||||
path.resolve(__dirname, '../../', 'bin/forever'),
|
||||
cmd
|
||||
].concat(args), {detached: true});
|
||||
proc.unref();
|
||||
return proc;
|
||||
}
|
||||
path = require('path'),
|
||||
fs = require('fs'),
|
||||
vows = require('vows'),
|
||||
forever = require('../../lib/forever'),
|
||||
runCmd = require('../helpers').runCmd;
|
||||
|
||||
vows.describe('forever/core/stopbypid-peaceful').addBatch({
|
||||
"When using forever" : {
|
||||
@@ -75,4 +66,4 @@ vows.describe('forever/core/stopbypid-peaceful').addBatch({
|
||||
}
|
||||
}
|
||||
}
|
||||
}).export(module);
|
||||
}).export(module);
|
||||
|
||||
Reference in New Issue
Block a user