/**
 * @overview Apeman app configuration file.
 * @see {@link http://www.npmjs.org/package/apeman | apeman}
 * @author Taka Okunishi
 *
 */
function safeRequire(moduleId) {
    try {
        return require(moduleId);
    } catch (e) {
        console.warn(e);
        return null;
    }
}

/** @namespace Apemanfile **/
module.exports = {
    get basedir() {
        return __dirname
    },
    get meta() {
        return safeRequire('./ci/config/meta-config');
    },
    get tasks() {
        return safeRequire('./ci/tasks');
    }
};