gym/lib/gym/options.rb in fastlane-2.44.1 vs gym/lib/gym/options.rb in fastlane-2.45.0.beta.20170706010014

- old
+ new

@@ -13,11 +13,11 @@ [ FastlaneCore::ConfigItem.new(key: :workspace, short_option: "-w", env_name: "GYM_WORKSPACE", optional: true, - description: "Path the workspace file", + description: "Path to the workspace file", verify_block: proc do |value| v = File.expand_path(value.to_s) UI.user_error!("Workspace file not found at path '#{v}'") unless File.exist?(v) UI.user_error!("Workspace file invalid") unless File.directory?(v) UI.user_error!("Workspace file is not a workspace, must end with .xcworkspace") unless v.include?(".xcworkspace") @@ -28,11 +28,11 @@ end), FastlaneCore::ConfigItem.new(key: :project, short_option: "-p", optional: true, env_name: "GYM_PROJECT", - description: "Path the project file", + description: "Path to the project file", verify_block: proc do |value| v = File.expand_path(value.to_s) UI.user_error!("Project file not found at path '#{v}'") unless File.exist?(v) UI.user_error!("Project file invalid") unless File.directory?(v) UI.user_error!("Project file is not a project file, must end with .xcodeproj") unless v.include?(".xcodeproj") @@ -94,11 +94,11 @@ is_string: false, optional: true), FastlaneCore::ConfigItem.new(key: :include_bitcode, short_option: "-z", env_name: "GYM_INCLUDE_BITCODE", - description: "Should the ipa include bitcode?", + description: "Should the ipa file include bitcode?", is_string: false, optional: true), FastlaneCore::ConfigItem.new(key: :export_method, short_option: "-j", env_name: "GYM_EXPORT_METHOD", @@ -109,11 +109,11 @@ av = %w(app-store ad-hoc package enterprise development developer-id) UI.user_error!("Unsupported export_method, must be: #{av}") unless av.include?(value) end), FastlaneCore::ConfigItem.new(key: :export_options, env_name: "GYM_EXPORT_OPTIONS", - description: "Specifies path to export options plist. User xcodebuild -help to print the full set of available options", + description: "Specifies path to export options plist. Use 'xcodebuild -help' to print the full set of available options", is_string: false, optional: true, conflict_block: proc do |value| UI.user_error!("'#{value.key}' must be false to use 'export_options'") end), @@ -125,11 +125,11 @@ UI.user_error!("'#{value.key}' must be false to use 'export_xcargs'") end, type: :shell_string), FastlaneCore::ConfigItem.new(key: :skip_build_archive, env_name: "GYM_SKIP_BUILD_ARCHIVE", - description: "Export ipa from previously build xarchive. Uses archive_path as source", + description: "Export ipa from previously built xarchive. Uses archive_path as source", is_string: false, optional: true), # Very optional FastlaneCore::ConfigItem.new(key: :build_path, env_name: "GYM_BUILD_PATH", @@ -141,11 +141,11 @@ description: "The path to the created archive", optional: true), FastlaneCore::ConfigItem.new(key: :derived_data_path, short_option: "-f", env_name: "GYM_DERIVED_DATA_PATH", - description: "The directory where build products and other derived data will go", + description: "The directory where built products and other derived data will go", optional: true), FastlaneCore::ConfigItem.new(key: :result_bundle, short_option: "-u", env_name: "GYM_RESULT_BUNDLE", is_string: false, @@ -225,10 +225,10 @@ env_name: "XCPRETTY_REPORT_JSON", description: "Have xcpretty create a JSON compilation database at the provided path", optional: true), FastlaneCore::ConfigItem.new(key: :analyze_build_time, env_name: "GYM_ANALYZE_BUILD_TIME", - description: "Analyze the project build time and store the output in culprits.txt file", + description: "Analyze the project build time and store the output in 'culprits.txt' file", optional: true, is_string: false), FastlaneCore::ConfigItem.new(key: :xcpretty_utf, env_name: "XCPRETTY_UTF", description: "Have xcpretty use unicode encoding when reporting builds",