class Souyuz::Options

Public Class Methods

available_options() click to toggle source
# 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: :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 jarsigner",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :is_aab,
                                 env_name: "SOUYUZ_AAB",
                                 description: "Flag to indicate that generating AAB",
                                 default_value: false,
                                 is_string: false,
                                 optional: true)
  ]
end