var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.registerIntegration=exports.loadIntegrations=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));


var _taskManager=require("../taskManager");


var loadIntegrations=function loadIntegrations(c){var _c$buildConfig;var integrations;return _regenerator.default.async(function loadIntegrations$(_context){while(1){switch(_context.prev=_context.next){case 0:
integrations=(_c$buildConfig=c.buildConfig)==null?void 0:_c$buildConfig.integrations;

if(integrations){
Object.keys(integrations).forEach(function(k){var _require;

var instance=(_require=require(k))==null?void 0:_require.default;
if(instance){
instance.getTasks().forEach(function(task){
(0,_taskManager.registerCustomTask)(c,task);
});
}
});
}case 2:case"end":return _context.stop();}}},null,null,null,Promise);};exports.loadIntegrations=loadIntegrations;


var registerIntegration=function registerIntegration(){

};exports.registerIntegration=registerIntegration;
//# sourceMappingURL=index.js.map