class Fastlane::Actions::XctoolAction

def self.author

def self.author
  "KrauseFx"
end

def self.description

def self.description
  "Run tests using xctool"
end

def self.details

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.is_supported?(platform)

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

def self.run(params)

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