Class: Pindo::TaskSystem::AndroidBuildDevTask
- Inherits:
-
AndroidBuildTask
- Object
- PindoTask
- BuildTask
- AndroidBuildTask
- Pindo::TaskSystem::AndroidBuildDevTask
- Defined in:
- lib/pindo/module/task/model/build/android_build_dev_task.rb
Overview
Android Dev 模式构建任务使用 Debug 模式编译 Android 工程
Instance Attribute Summary
Attributes inherited from BuildTask
#mode, #output_path, #platform, #project_path
Attributes inherited from PindoTask
#callbacks_setup, #context, #created_at, #data_dependencies, #dependencies, #error, #finished_at, #id, #max_retry_count, #metadata, #name, #priority, #result, #retry_count, #retry_delay, #retry_mode, #started_at, #status, #task_key, #task_manager, #type
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ AndroidBuildDevTask
constructor
A new instance of AndroidBuildDevTask.
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, task_type_name
Methods inherited from PindoTask
#before_retry, #cancel, #cancelled?, #check_cancelled!, #data_param, default_retry_count, default_retry_delay, default_retry_mode, #do_task, #execution_time, #finished?, #get_all_data_params, #get_all_data_params_by_key, #get_all_dependencies_results, #get_data_param, #get_data_param_by_key, #get_dependency_result, #get_dependency_task, #on, #primary_data_param, #reset_for_retry, #retryable?, #running?, #should_retry?, task_type, #validate
Constructor Details
#initialize(options = {}) ⇒ AndroidBuildDevTask
Returns a new instance of AndroidBuildDevTask.
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/pindo/module/task/model/build/android_build_dev_task.rb', line 18 def initialize( = {}) @bundle_name = [:bundle_name] @proj_name = [:proj_name] @upload_flag = [:upload] || false @send_flag = [:send] || false # 接收外部传入的 JPS 配置 @app_info_obj = [:app_info_obj] @workflow_info = [:workflow_info] # Git 版本控制参数(与 GitOptions 一致) @ver_inc = [:ver_inc] || Pindo::VersionIncreaseType::MINI @tag_type = [:tag_type] || Pindo::CreateTagType::NEW @tag_pre = [:tag_pre] || 'v' [:platform] = :android [:mode] = :dev super("构建 APK (Debug)", ) end |
Class Method Details
.task_key ⇒ Object
14 15 16 |
# File 'lib/pindo/module/task/model/build/android_build_dev_task.rb', line 14 def self.task_key :android_build_dev end |