You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
352 B
19 lines
352 B
'use strict';
|
|
|
|
var fs = require('fs');
|
|
var path = require('path');
|
|
|
|
var testDir = __dirname;
|
|
|
|
var directories = [
|
|
testDir + '/dialects'
|
|
];
|
|
|
|
directories.forEach(function (d) {
|
|
var files = fs.readdirSync(d);
|
|
/*jshint boss: true */
|
|
for(var i = 0, file; file = files[i]; i++) {
|
|
var filePath = path.join(d, file);
|
|
require(filePath);
|
|
}
|
|
});
|
|
|