class Fastlane::Actions::XcakeAction

Public Class Methods

authors() click to toggle source
# File lib/fastlane/plugin/xcake/actions/xcake_action.rb, line 29
def self.authors
  ["jcampbell05"]
end
available_options() click to toggle source
# File lib/fastlane/plugin/xcake/actions/xcake_action.rb, line 20
def self.available_options
  [
  ]
end
description() click to toggle source
# File lib/fastlane/plugin/xcake/actions/xcake_action.rb, line 16
def self.description
  "Runs `xcake` for the project"
end
is_supported?(platform) click to toggle source
# File lib/fastlane/plugin/xcake/actions/xcake_action.rb, line 25
def self.is_supported?(platform)
  [:ios, :mac].include? platform
end
run(params) click to toggle source
# File lib/fastlane/plugin/xcake/actions/xcake_action.rb, line 4
def self.run(params)
  require 'xcake'

  if defined?(::Xcake::Command::Make)
    # New `xcake make` command
    ::Xcake::Command::Make.run
  else
    # Legacy `xcake` command
    ::Xcake::Command.run
  end
end