Module: Pindo::TaskSystem::TaskConfig

Defined in:
lib/pindo/module/task/task_config.rb

Overview

任务系统配置

Constant Summary collapse

UNITY_EXPORT_PATHS =

Unity 导出路径配置

{
  ios: 'GoodPlatform/iOS',
  android: 'GoodPlatform/Android',
  web: 'GoodPlatform/Web',
  webgl: 'GoodPlatform/WebGL'
}.freeze
BUILD_OUTPUT_PATTERNS =

构建输出搜索路径模式

{
  ipa: [
    'build/**/*.ipa',
    'output/**/*.ipa',
    'GoodPlatform/iOS/**/*.ipa',
    '**/*.ipa'
  ].freeze,

  apk: [
    'build/**/*.apk',
    'output/**/*.apk',
    'GoodPlatform/Android/**/*.apk',
    'app/build/outputs/apk/**/*.apk',
    '**/*.apk'
  ].freeze,

  aab: [
    'build/**/*.aab',
    'output/**/*.aab',
    'GoodPlatform/Android/**/*.aab',
    'app/build/outputs/bundle/**/*.aab',
    '**/*.aab'
  ].freeze,

  web: [
    'build/web',
    'build/webgl',
    'output/web',
    'output/webgl',
    'GoodPlatform/Web',
    'GoodPlatform/WebGL',
    'Build/WebGL',
    'dist',
    'public'
  ].freeze,

  web_zip: [
    'build/**/*web*.zip',
    'output/**/*web*.zip',
    '**/*webgl*.zip'
  ].freeze
}.freeze
EXCLUDED_PATTERNS =

需要过滤的文件名模式(测试包、调试包等)

[
  'test',
  'debug',
  'unsigned',
  'unaligned'
].freeze
PLATFORM_MAPPING =

平台映射

{
  'ipa' => 'ios',
  'apk' => 'android',
  'aab' => 'android',
  'html' => 'web'
}.freeze
DISPLAY_NAMES =

显示名称映射

{
  'ios' => 'iOS',
  'android' => 'Android',
  'web' => 'WebGL',
  'ipa' => 'IPA',
  'apk' => 'APK',
  'html' => 'HTML'
}.freeze