Class: Souyuz::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/souyuz/options.rb

Class Method Summary collapse

Class Method Details

.available_optionsObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/souyuz/options.rb', line 5

def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :silent,
                                 env_name: "SOUYUZ_SILENT",
                                 description: "Hide all information that's not necessary while building",
                                 default_value: false,
                                 is_string: false),
    FastlaneCore::ConfigItem.new(key: :compiler_bin,
                                 env_name: "SOUYUZ_COMPILER_BIN",
                                 description: "Path to the compiler binary",
                                 default_value: 'msbuild'),
    FastlaneCore::ConfigItem.new(key: :build_configuration,
                                 env_name: "SOUYUZ_BUILD_CONFIGURATION",
                                 description: "Build configuration value",
                                 default_value: 'Release'),
    FastlaneCore::ConfigItem.new(key: :build_platform,
                                 env_name: "SOUYUZ_BUILD_PLATFORM",
                                 description: "Build platform value",
                                 default_value: 'iPhone'),
    FastlaneCore::ConfigItem.new(key: :build_target,
                                 env_name: "SOUYUZ_BUILD_TARGET",
                                 description: "Build targets to build",
                                 default_value: ['Build'],
                                 type: Array),
    FastlaneCore::ConfigItem.new(key: :extra_build_options,
                                 env_name: "SOUYUZ_EXTRA_BUILD_OPTIONS",
                                 description: "Extra options to pass to `msbuild`. Example: `/p:MYOPTION=true`",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :output_path,
                                 env_name: "SOUYUZ_BUILD_OUTPUT_PATH",
                                 description: "Build output path",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :project_name,
                                 env_name: "SOUYUZ_BUILD_PROJECT_NAME",
                                 description: "Build project name",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :assembly_name,
                                 env_name: "SOUYUZ_BUILD_ASSEMBLY_NAME",
                                 description: "Build assembly name",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :platform,
                                 env_name: "SOUYUZ_PLATFORM",
                                 description: "Targeted device platform (i.e. android, ios, osx)",
                                 optional: false),
    FastlaneCore::ConfigItem.new(key: :solution_path,
                                 env_name: "SOUYUZ_SOLUTION_PATH",
                                 description: "Path to the build solution (sln) file",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :project_path,
                                 env_name: "SOUYUZ_PROJECT_PATH",
                                 description: "Path to the build project (csproj) file",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :manifest_path,
                                 env_name: "SOUYUZ_ANDROID_MANIFEST_PATH",
                                 description: "Path to the android manifest (xml) file",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :buildtools_path,
                                 env_name: "SOUYUZ_ANDROID_BUILDTOOLS_PATH",
                                 description: "Path to the android build tools",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :plist_path,
                                 env_name: "SOUYUZ_IOS_PLIST_PATH",
                                 description: "Path to the iOS plist file",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :keystore_path,
                                 env_name: "SOUYUZ_ANDROID_KEYSTORE_PATH",
                                 description: "Path to the keystore",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :keystore_alias,
                                 env_name: "SOUYUZ_ANDROID_KEYSTORE_ALIAS",
                                 description: "Alias of the keystore",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :keystore_password,
                                 env_name: "SOUYUZ_ANDROID_KEYSTORE_PASSWORD",
                                 description: "Password of the keystore",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :keystore_tsa,
                                 default_value: 'http://timestamp.digicert.com',
                                 env_name: "SOUYUZ_ANDROID_KEYSTORE_TSA",
                                 description: "TSA for apksigner",
                                 optional: true)
  ]
end