gym/lib/gym/options.rb in fastlane-2.69.0.beta.20171212010004 vs gym/lib/gym/options.rb in fastlane-2.69.0

- old
+ new

@@ -90,16 +90,18 @@ FastlaneCore::ConfigItem.new(key: :include_symbols, short_option: "-m", env_name: "GYM_INCLUDE_SYMBOLS", description: "Should the ipa file include symbols?", is_string: false, + type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :include_bitcode, short_option: "-z", env_name: "GYM_INCLUDE_BITCODE", description: "Should the ipa file include bitcode?", is_string: false, + type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :export_method, short_option: "-j", env_name: "GYM_EXPORT_METHOD", description: "Method used to export the archive. Valid values are: app-store, ad-hoc, package, enterprise, development, developer-id", @@ -112,10 +114,12 @@ FastlaneCore::ConfigItem.new(key: :export_options, env_name: "GYM_EXPORT_OPTIONS", description: "Specifies path to export options plist. Use 'xcodebuild -help' to print the full set of available options", is_string: false, optional: true, + type: Hash, + skip_type_validation: true, conflict_block: proc do |value| UI.user_error!("'#{value.key}' must be false to use 'export_options'") end), FastlaneCore::ConfigItem.new(key: :export_xcargs, env_name: "GYM_EXPORT_XCARGS", @@ -127,9 +131,16 @@ type: :shell_string), FastlaneCore::ConfigItem.new(key: :skip_build_archive, env_name: "GYM_SKIP_BUILD_ARCHIVE", description: "Export ipa from previously built xarchive. Uses archive_path as source", is_string: false, + type: Boolean, + optional: true), + FastlaneCore::ConfigItem.new(key: :skip_archive, + env_name: "GYM_SKIP_ARCHIVE", + description: "After building, don't archive, effectively not including -archivePath param", + is_string: false, + type: Boolean, optional: true), # Very optional FastlaneCore::ConfigItem.new(key: :build_path, env_name: "GYM_BUILD_PATH", description: "The directory in which the archive should be stored in",