lib/gym/options.rb in gym-0.4.6 vs lib/gym/options.rb in gym-0.5.0

- old
+ new

@@ -7,11 +7,10 @@ return @options if @options @options = plain_options end - # rubocop:disable Metrics/MethodLength def self.plain_options [ FastlaneCore::ConfigItem.new(key: :workspace, short_option: "-w", env_name: "GYM_WORKSPACE", @@ -48,10 +47,15 @@ FastlaneCore::ConfigItem.new(key: :output_directory, short_option: "-o", env_name: "GYM_OUTPUT_DIRECTORY", description: "The directory in which the ipa file should be stored in", default_value: "."), + FastlaneCore::ConfigItem.new(key: :archive_path, + short_option: "-b", + env_name: "GYM_ARCHIVE_PATH", + description: "The directory in which the archive file should be stored in", + optional: true), FastlaneCore::ConfigItem.new(key: :output_name, short_option: "-n", env_name: "GYM_OUTPUT_NAME", description: "The name of the resulting ipa file", optional: true, @@ -75,21 +79,21 @@ default_value: false, is_string: false), FastlaneCore::ConfigItem.new(key: :codesigning_identity, short_option: "-i", env_name: "GYM_CODE_SIGNING_IDENTITY", - description: "The name of the code signing identity to use. It has to match the name exactly. You usually don't need this! e.g. 'iPhone Distribution: SunApps GmbH'", + description: "The name of the code signing identity to use. It has to match the name exactly. e.g. 'iPhone Distribution: SunApps GmbH'", optional: true), FastlaneCore::ConfigItem.new(key: :destination, short_option: "-d", env_name: "GYM_DESTINATION", description: "Use a custom destination for building the app", optional: true), FastlaneCore::ConfigItem.new(key: :xcargs, short_option: "-x", env_name: "GYM_XCARGS", - description: "Pass additional arguments to xcodebuild when building the app. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS=\"-ObjC -lstdc++\"", + description: "Pass additional arguments to xcodebuild. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS=\"-ObjC -lstdc++\"", optional: true), FastlaneCore::ConfigItem.new(key: :xcconfig, short_option: "-y", env_name: "GYM_XCCONFIG", description: "Use an extra XCCONFIG file to build your app", @@ -106,8 +110,7 @@ raise "Provisioning profile not found at path '#{File.expand_path(value)}'".red unless File.exist?(value) end) ] end - # rubocop:enable Metrics/MethodLength end end