Sha256: 07ba4aa73cefd1b54aacac5bbe67dbedc3433b727a786a7eee4bef11b60a6629

Contents?: true

Size: 803 Bytes

Versions: 5

Compression:

Stored size: 803 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

        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)
        platform == :ios
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fastlane-0.12.3 lib/fastlane/actions/xctool.rb
fastlane-0.12.2 lib/fastlane/actions/xctool.rb
fastlane-0.12.1 lib/fastlane/actions/xctool.rb
fastlane-0.12.0 lib/fastlane/actions/xctool.rb
fastlane-0.11.0 lib/fastlane/actions/xctool.rb