Make getFiles more consistent
This commit is contained in:
parent
c4b8139ee8
commit
c8c19d3b6f
@ -64,6 +64,8 @@ function getFiles(compsBase32) {
|
||||
return files;
|
||||
}
|
||||
|
||||
exports.getFiles = getFiles;
|
||||
|
||||
exports.lint = function () {
|
||||
|
||||
var files = getFiles();
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user