don't require testacular for other jake tasks
This commit is contained in:
parent
0d3aa59f9c
commit
7977220830
@ -3,8 +3,7 @@ var fs = require('fs'),
|
|||||||
UglifyJS = require('uglify-js'),
|
UglifyJS = require('uglify-js'),
|
||||||
|
|
||||||
deps = require('./deps.js').deps,
|
deps = require('./deps.js').deps,
|
||||||
hintrc = require('./hintrc.js').config,
|
hintrc = require('./hintrc.js').config;
|
||||||
testacular = require('testacular');
|
|
||||||
|
|
||||||
function lintFiles(files) {
|
function lintFiles(files) {
|
||||||
|
|
||||||
@ -157,9 +156,9 @@ exports.build = function (compsBase32, buildName) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.test = function() {
|
exports.test = function() {
|
||||||
var testConfig = {
|
var testacular = require('testacular'),
|
||||||
configFile : __dirname + '/../spec/testacular.conf.js'
|
testConfig = {configFile : __dirname + '/../spec/testacular.conf.js'};
|
||||||
}
|
|
||||||
testConfig.browsers = ['PhantomJS'];
|
testConfig.browsers = ['PhantomJS'];
|
||||||
isArgv('--chrome') && testConfig.browsers.push('Chrome');
|
isArgv('--chrome') && testConfig.browsers.push('Chrome');
|
||||||
isArgv('--ff') && testConfig.browsers.push('Firefox');
|
isArgv('--ff') && testConfig.browsers.push('Firefox');
|
||||||
|
Loading…
Reference in New Issue
Block a user