Class: Pindo::TaskSystem::IosBuildAdhocTask

Inherits:
IosBuildTask show all
Defined in:
lib/pindo/module/task/model/build/ios_build_adhoc_task.rb

Overview

iOS AdHoc 模式构建任务使用 AdHoc 证书编译 iOS 工程包含 AdHoc 特有的准备工作(版本号增加、Tag 创建、Quark/Swark 处理等)

Instance Attribute Summary

Attributes inherited from BuildTask

#mode, #output_path, #platform, #project_path

Attributes inherited from PindoTask

#callbacks_setup, #context, #created_at, #dependencies, #error, #finished_at, #id, #max_retry_count, #metadata, #name, #priority, #result, #retry_count, #retry_delay, #retry_mode, #started_at, #status, #type

Instance Method Summary collapse

Methods inherited from BuildTask

create_android_task, create_ios_task, create_task, create_web_task, default_retry_count, default_retry_delay, default_retry_mode, normalize_mode, normalize_platform, task_type

Methods inherited from PindoTask

#before_retry, #cancel, #cancelled?, #check_cancelled!, default_retry_count, default_retry_delay, default_retry_mode, #do_task, #execution_time, #finished?, #on, #reset_for_retry, #retryable?, #running?, #should_retry?, task_type, #validate

Constructor Details

#initialize(options = {}) ⇒ IosBuildAdhocTask

Returns a new instance of IosBuildAdhocTask.



20
21
22
23
24
25
26
27
28
29
30
31
# File 'lib/pindo/module/task/model/build/ios_build_adhoc_task.rb', line 20

def initialize(options = {})
  @bundle_id = options[:bundle_id]
  @proj_name = options[:proj_name]
  @upload_flag = options[:upload] || false
  @send_flag = options[:send] || false
  @macos_flag = false

  # 保存 Unity 根目录路径(用于查找 config.json)
  @unity_root_path = options[:unity_root_path]

  super(:ios, :adhoc, options)
end