Class: Fastlane::Actions::XcakeAction

Inherits:
Fastlane::Action show all
Defined in:
lib/fastlane/actions/xcake.rb

Class Method Summary collapse

Methods inherited from Fastlane::Action

action_name, author, details, method_missing, other_action, output, return_value, sh, step_text

Class Method Details

.authorsObject



30
31
32
# File 'lib/fastlane/actions/xcake.rb', line 30

def self.authors
  ["jcampbell05"]
end

.available_optionsObject



21
22
23
24
# File 'lib/fastlane/actions/xcake.rb', line 21

def self.available_options
  [
  ]
end

.descriptionObject



17
18
19
# File 'lib/fastlane/actions/xcake.rb', line 17

def self.description
  "Runs `xcake` for the project"
end

.is_supported?(platform) ⇒ Boolean



26
27
28
# File 'lib/fastlane/actions/xcake.rb', line 26

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

.run(params) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/fastlane/actions/xcake.rb', line 4

def self.run(params)
  Actions.verify_gem!('xcake')
  require 'xcake'

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