11 lines
435 B
JavaScript
Executable file
11 lines
435 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
|
|
var path = require('path'),
|
|
Command = require('../lib/command.js'),
|
|
Jasmine = require('../lib/jasmine.js');
|
|
|
|
var jasmine = new Jasmine({ projectBaseDir: path.resolve() });
|
|
var examplesDir = path.join(path.dirname(require.resolve('jasmine-core')), 'jasmine-core', 'example', 'node_example');
|
|
var command = new Command(path.resolve(), examplesDir, console.log);
|
|
|
|
command.run(jasmine, process.argv.slice(2));
|