Sha256: fdbe22c10e2f6704643a357894d6967a5f1648f3bd263356b0693db7922cbee5

Contents?: true

Size: 885 Bytes

Versions: 30

Compression:

Stored size: 885 Bytes

Contents

module Fastlane
  module Actions
    class XctoolAction < Action
      def self.run(params)
        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/KrauseFx/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

30 entries across 30 versions & 1 rubygems

Version Path
fastlane-1.35.0 lib/fastlane/actions/xctool.rb
fastlane-1.34.0 lib/fastlane/actions/xctool.rb
fastlane-1.33.6 lib/fastlane/actions/xctool.rb
fastlane-1.33.5 lib/fastlane/actions/xctool.rb
fastlane-1.33.4 lib/fastlane/actions/xctool.rb
fastlane-1.33.3 lib/fastlane/actions/xctool.rb
fastlane-1.33.2 lib/fastlane/actions/xctool.rb
fastlane-1.33.1 lib/fastlane/actions/xctool.rb
fastlane-1.33.0 lib/fastlane/actions/xctool.rb
fastlane-1.32.4 lib/fastlane/actions/xctool.rb
fastlane-1.32.3 lib/fastlane/actions/xctool.rb
fastlane-1.32.2 lib/fastlane/actions/xctool.rb
fastlane-1.32.1 lib/fastlane/actions/xctool.rb
fastlane-1.32.0 lib/fastlane/actions/xctool.rb
fastlane-1.31.0 lib/fastlane/actions/xctool.rb
fastlane-1.30.2 lib/fastlane/actions/xctool.rb
fastlane-1.30.1 lib/fastlane/actions/xctool.rb
fastlane-1.30.0 lib/fastlane/actions/xctool.rb
fastlane-1.29.2 lib/fastlane/actions/xctool.rb
fastlane-1.29.1 lib/fastlane/actions/xctool.rb