diff --git a/build/build.js b/build/build.js index a8ed7035..2a4bc1ff 100644 --- a/build/build.js +++ b/build/build.js @@ -64,6 +64,8 @@ function getFiles(compsBase32) { return files; } +exports.getFiles = getFiles; + exports.lint = function () { var files = getFiles(); diff --git a/spec/testacular.conf.js b/spec/testacular.conf.js index 26ae6bd0..32c28781 100644 --- a/spec/testacular.conf.js +++ b/spec/testacular.conf.js @@ -1,18 +1,12 @@ // Testacular configuration // Generated on Sat Jan 19 2013 16:24:31 GMT-0200 (BRST) -var deps = require(__dirname+'/../build/deps.js').deps; +var libSources = require(__dirname+'/../build/build.js').getFiles(); // base path, that will be used to resolve files and exclude basePath = ''; -var libSources = []; - -for (var dep in deps) { - libSources = libSources.concat(deps[dep].src); -} - for (var i=0; i < libSources.length; i++) { - libSources[i] = "../src/" + libSources[i]; + libSources[i] = "../" + libSources[i]; } // list of files / patterns to load in the browser