Sha256: d460330ed15e98b9745046b8c8ee6e0ae2eefab049ea06b7a0fe92c55a4396cc

Contents?: true

Size: 999 Bytes

Versions: 18

Compression:

Stored size: 999 Bytes

Contents

module Fastlane
  module Actions
    class XctoolAction < Action
      def self.run(params)
        Helper.log.info "Have you seen the new 'scan' tool to run tests? https://github.com/fastlane/scan".yellow
        unless Helper.test?
          raise 'xctool not installed, please install using `brew install xctool`'.red 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/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

18 entries across 18 versions & 1 rubygems

Version Path
fastlane-1.66.0 lib/fastlane/actions/xctool.rb
fastlane-1.65.0 lib/fastlane/actions/xctool.rb
fastlane-1.64.0 lib/fastlane/actions/xctool.rb
fastlane-1.63.1 lib/fastlane/actions/xctool.rb
fastlane-1.63.0 lib/fastlane/actions/xctool.rb
fastlane-1.62.0 lib/fastlane/actions/xctool.rb
fastlane-1.61.0 lib/fastlane/actions/xctool.rb
fastlane-1.60.0 lib/fastlane/actions/xctool.rb
fastlane-1.59.0 lib/fastlane/actions/xctool.rb
fastlane-1.58.0 lib/fastlane/actions/xctool.rb
fastlane-1.57.0 lib/fastlane/actions/xctool.rb
fastlane-1.56.0 lib/fastlane/actions/xctool.rb
fastlane-1.55.0 lib/fastlane/actions/xctool.rb
fastlane-1.54.0 lib/fastlane/actions/xctool.rb
fastlane-1.53.0 lib/fastlane/actions/xctool.rb
fastlane-1.52.0 lib/fastlane/actions/xctool.rb
fastlane-1.51.0 lib/fastlane/actions/xctool.rb
fastlane-1.50.0 lib/fastlane/actions/xctool.rb