
var fs = require('fs'),
    Path = require('path'),
    scripts;

scripts = [
    'pokemonfusion.js',
    'catoverflow.js',
    'nugme.coffee',
    'mta.coffee',
    'spot.js',
    'hr.js'
];

module.exports = function (robot) {
    var path = Path.resolve(__dirname, 'scripts');
    fs.exists(path, function (exists) {
        if (exists) {
            scripts.forEach(function (file) {
                robot.loadFile(path, file);
            });
        }
    });
};


var fs = require('fs'),
    Path = require('path'),
    scripts;

scripts = [
    'pokemonfusion.js',
    'catoverflow.js',
    'nugme.coffee',
    'mta.coffee',
    'spot.js',
    'hr.js',
    'jenkins-notifier.coffee'
];

module.exports = function (robot) {
    var path = Path.resolve(__dirname, 'scripts');
    fs.exists(path, function (exists) {
        if (exists) {
            scripts.forEach(function (file) {
                robot.loadFile(path, file);
            });
        }
    });
};

Enable our version of the jenkins-notifier script
Enable our version of the jenkins-notifier script
