var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.taskRnvDeploy=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _logger=require("../core/systemManager/logger");
var _constants=require("../core/constants");





var _engineManager=require("../core/engineManager");

var taskRnvDeploy=function taskRnvDeploy(c,parentTask,originTask){return _regenerator.default.async(function taskRnvDeploy$(_context){while(1){switch(_context.prev=_context.next){case 0:
(0,_logger.logTask)('taskRnvDeploy',"parent:"+parentTask);_context.next=3;return _regenerator.default.awrap(

(0,_engineManager.executeOrSkipTask)(c,_constants.TASK_EXPORT,_constants.TASK_DEPLOY,originTask));case 3:return _context.abrupt("return",


true);case 4:case"end":return _context.stop();}}},null,null,null,Promise);};exports.taskRnvDeploy=taskRnvDeploy;var _default=


{
description:'Deploy the binary via selected deployment intgeration or buld hook',
fn:taskRnvDeploy,
task:'deploy',
params:_constants.PARAMS.withBase(_constants.PARAMS.withConfigure()),
platforms:[
_constants.MACOS,
_constants.WINDOWS]};exports.default=_default;
//# sourceMappingURL=task.rnv.deploy.js.map