var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _engineManager=require("../core/engineManager");
var _commonEngine=require("./commonEngine");




var _taskRnvCrypto=_interopRequireDefault(require("./tasks/task.rnv.crypto.decrypt"));
var _taskRnvCrypto2=_interopRequireDefault(require("./tasks/task.rnv.crypto.encrypt"));
var _taskRnvCrypto3=_interopRequireDefault(require("./tasks/task.rnv.crypto.installCerts"));
var _taskRnvCrypto4=_interopRequireDefault(require("./tasks/task.rnv.crypto.updateProfile"));
var _taskRnvCrypto5=_interopRequireDefault(require("./tasks/task.rnv.crypto.updateProfiles"));
var _taskRnvCrypto6=_interopRequireDefault(require("./tasks/task.rnv.crypto.installProfiles"));
var _taskRnvTarget=_interopRequireDefault(require("./tasks/task.rnv.target.list"));
var _taskRnvTarget2=_interopRequireDefault(require("./tasks/task.rnv.target.launch"));
var _taskRnvPlatform=_interopRequireDefault(require("./tasks/task.rnv.platform.eject"));
var _taskRnvPlatform2=_interopRequireDefault(require("./tasks/task.rnv.platform.connect"));
var _taskRnvPlatform3=_interopRequireDefault(require("./tasks/task.rnv.platform.list"));
var _taskRnvPlatform4=_interopRequireDefault(require("./tasks/task.rnv.platform.configure"));
var _taskRnvPlatform5=_interopRequireDefault(require("./tasks/task.rnv.platform.setup"));
var _taskRnvTemplate=_interopRequireDefault(require("./tasks/task.rnv.template.add"));
var _taskRnvTemplate2=_interopRequireDefault(require("./tasks/task.rnv.template.apply"));
var _taskRnvTemplate3=_interopRequireDefault(require("./tasks/task.rnv.template.list"));
var _taskRnvPlugin=_interopRequireDefault(require("./tasks/task.rnv.plugin.add"));
var _taskRnvPlugin2=_interopRequireDefault(require("./tasks/task.rnv.plugin.list"));
var _taskRnvPlugin3=_interopRequireDefault(require("./tasks/task.rnv.plugin.update"));
var _taskRnvWorkspace=_interopRequireDefault(require("./tasks/task.rnv.workspace.list"));
var _taskRnvWorkspace2=_interopRequireDefault(require("./tasks/task.rnv.workspace.add"));
var _taskRnvWorkspace3=_interopRequireDefault(require("./tasks/task.rnv.workspace.connect"));
var _taskRnvWorkspace4=_interopRequireDefault(require("./tasks/task.rnv.workspace.update"));
var _taskRnvHooks=_interopRequireDefault(require("./tasks/task.rnv.hooks.list"));
var _taskRnvHooks2=_interopRequireDefault(require("./tasks/task.rnv.hooks.run"));
var _taskRnvHooks3=_interopRequireDefault(require("./tasks/task.rnv.hooks.pipes"));
var _taskRnv=_interopRequireDefault(require("./tasks/task.rnv.clean"));
var _taskRnv2=_interopRequireDefault(require("../integration-fastlane/task.rnv.fastlane"));
var _taskRnv3=_interopRequireDefault(require("./tasks/task.rnv.publish"));
var _taskRnv4=_interopRequireDefault(require("./tasks/task.rnv.pkg"));
var _taskRnv5=_interopRequireDefault(require("./tasks/task.rnv.status"));
var _taskRnv6=_interopRequireDefault(require("./tasks/task.rnv.config"));
var _taskRnv7=_interopRequireDefault(require("./tasks/task.rnv.help"));
var _taskRnv8=_interopRequireDefault(require("./tasks/task.rnv.new"));
var _taskRnv9=_interopRequireDefault(require("./tasks/task.rnv.install"));
var _taskRnvProject=_interopRequireDefault(require("./tasks/task.rnv.project.configure"));
var _taskRnvProject2=_interopRequireDefault(require("./tasks/task.rnv.project.upgrade"));
var _taskRnvApp=_interopRequireDefault(require("./tasks/task.rnv.app.configure"));
var _taskRnvWorkspace5=_interopRequireDefault(require("./tasks/task.rnv.workspace.configure"));
var _taskRnv10=_interopRequireDefault(require("./tasks/task.rnv.log"));
var _taskRnv11=_interopRequireDefault(require("./tasks/task.rnv.configureSoft"));
var _taskRnv12=_interopRequireDefault(require("./tasks/task.rnv.kill"));

var TASKS={};

var addTask=function addTask(taskInstance){
if(!(taskInstance==null?void 0:taskInstance.task)){
throw new Error('taskInstance has missing task name!');
}
TASKS[taskInstance.task]=taskInstance;
};



addTask(_taskRnvCrypto.default);
addTask(_taskRnvCrypto2.default);
addTask(_taskRnvCrypto3.default);
addTask(_taskRnvCrypto4.default);
addTask(_taskRnvCrypto5.default);
addTask(_taskRnvCrypto6.default);
addTask(_taskRnvTarget.default);
addTask(_taskRnvTarget2.default);
addTask(_taskRnvPlatform.default);
addTask(_taskRnvPlatform2.default);
addTask(_taskRnvPlatform3.default);
addTask(_taskRnvPlatform4.default);
addTask(_taskRnvPlatform5.default);
addTask(_taskRnvTemplate.default);
addTask(_taskRnvTemplate2.default);
addTask(_taskRnvTemplate3.default);
addTask(_taskRnvPlugin.default);
addTask(_taskRnvPlugin2.default);
addTask(_taskRnvPlugin3.default);
addTask(_taskRnvWorkspace.default);
addTask(_taskRnvWorkspace2.default);
addTask(_taskRnvWorkspace3.default);
addTask(_taskRnvWorkspace4.default);
addTask(_taskRnvHooks.default);
addTask(_taskRnvHooks2.default);
addTask(_taskRnvHooks3.default);
addTask(_taskRnv.default);
addTask(_taskRnv2.default);
addTask(_taskRnv3.default);
addTask(_taskRnv4.default);
addTask(_taskRnv5.default);
addTask(_taskRnv6.default);
addTask(_taskRnv7.default);
addTask(_taskRnv8.default);
addTask(_taskRnv9.default);
addTask(_taskRnvProject.default);
addTask(_taskRnvProject2.default);
addTask(_taskRnvApp.default);
addTask(_taskRnvWorkspace5.default);
addTask(_taskRnv10.default);
addTask(_taskRnv11.default);
addTask(_taskRnv12.default);

var executeTask=function executeTask(c,task,parentTask,originTask,isFirstTask){return(0,_engineManager.executeEngineTask)(
c,task,parentTask,originTask,TASKS,isFirstTask);};


var hasTask=function hasTask(task,isProjectScope){return(0,_engineManager.hasEngineTask)(task,TASKS,isProjectScope);};

var getTask=function getTask(task){return(0,_engineManager.getEngineTask)(task,TASKS);};

var getSubTasks=function getSubTasks(task,exactMatch){return(0,_engineManager.getEngineSubTasks)(task,TASKS,exactMatch);};

var getTasks=function getTasks(){return Object.values(TASKS);};

var getId=function getId(){return'engine-core';};

var title='Engine Core';var _default=

{
getPlatformBuildDir:_commonEngine.getPlatformBuildDir,
getPlatformProjectDir:_commonEngine.getPlatformProjectDir,
getPlatformOutputDir:_commonEngine.getPlatformOutputDir,
ejectPlatform:_commonEngine.ejectPlatform,
getTemplateProjectDir:_commonEngine.getTemplateProjectDir,
getTemplateRootDir:_commonEngine.getTemplateRootDir,
executeTask:executeTask,
addTask:addTask,
hasTask:hasTask,
getTask:getTask,
getSubTasks:getSubTasks,
getTasks:getTasks,
getId:getId,
title:title};exports.default=_default;
//# sourceMappingURL=index.js.map