combine.fm/lib/services.js

13 lines
282 B
JavaScript
Raw Normal View History

2015-01-06 12:58:57 +00:00
"use strict";
2015-05-17 19:10:30 +01:00
var path = require("path");
2015-01-06 12:58:57 +00:00
module.exports = [];
require("fs").readdirSync(path.join(__dirname, "services")).forEach(function(file) {
var service = require(path.join(__dirname, "services", file));
if (service.search) {
module.exports.push(service);
}
});