Sha256: 466dc3c4175ae7b9f129d7b2c4c9e2a896203b9d9eed0294a9ccfc8a60d2dd73

Contents?: true

Size: 1 KB

Versions: 35

Compression:

Stored size: 1 KB

Contents

module Fastlane
  module Actions
    class XctoolAction < Action
      def self.run(params)
        UI.important("Have you seen the new 'scan' tool to run tests? https://github.com/fastlane/fastlane/tree/master/scan")
        unless Helper.test?
          UI.user_error!("xctool not installed, please install using `brew install xctool`") if `which xctool`.length == 0
        end

        params = [] if params.kind_of? FastlaneCore::Configuration

        Actions.sh('xctool ' + params.join(' '))
      end

      def self.description
        "Run tests using xctool"
      end

      def self.details
        [
          "It is recommended to store the build configuration in the `.xctool-args` file.",
          "More information available on GitHub: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md#xctool"
        ].join(' ')
      end

      def self.author
        "KrauseFx"
      end

      def self.is_supported?(platform)
        [:ios, :mac].include? platform
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
fastlane-1.104.0 lib/fastlane/actions/xctool.rb
fastlane-1.103.0 lib/fastlane/actions/xctool.rb
fastlane-1.102.0 lib/fastlane/actions/xctool.rb
fastlane-1.101.0 lib/fastlane/actions/xctool.rb
fastlane-1.100.0 lib/fastlane/actions/xctool.rb
fastlane-1.99.0 lib/fastlane/actions/xctool.rb
fastlane-1.98.0 lib/fastlane/actions/xctool.rb
fastlane-1.97.2 lib/fastlane/actions/xctool.rb
fastlane-1.97.1 lib/fastlane/actions/xctool.rb
fastlane-1.97.0 lib/fastlane/actions/xctool.rb
fastlane-1.96.0 lib/fastlane/actions/xctool.rb
fastlane-1.95.0 lib/fastlane/actions/xctool.rb
fastlane-1.94.1 lib/fastlane/actions/xctool.rb
fastlane-1.94.0 lib/fastlane/actions/xctool.rb
fastlane-1.93.1 lib/fastlane/actions/xctool.rb
fastlane-1.93.0 lib/fastlane/actions/xctool.rb
fastlane-1.92.0 lib/fastlane/actions/xctool.rb
fastlane-1.92.0.beta2 lib/fastlane/actions/xctool.rb
fastlane-1.92.0.beta1 lib/fastlane/actions/xctool.rb
fastlane-1.91.0 lib/fastlane/actions/xctool.rb