Module: FWToolkit::Tasks

Defined in:
lib/fwtoolkit/tasks/ci.rb,
lib/fwtoolkit/tasks/build.rb,
lib/fwtoolkit/tasks/frank.rb,
lib/fwtoolkit/tasks/helper.rb,
lib/fwtoolkit/tasks/services.rb,
lib/fwtoolkit/tasks/cocoapods.rb,
lib/fwtoolkit/tasks/distribute.rb

Defined Under Namespace

Classes: BuildTask, CI, Cocoapods, Distribute, Frank, Services

Class Method Summary collapse

Class Method Details

.cc_artifacts_dirObject



3
4
5
# File 'lib/fwtoolkit/tasks/helper.rb', line 3

def self.cc_artifacts_dir
  ENV['CC_BUILD_ARTIFACTS'] ? ENV['CC_BUILD_ARTIFACTS'] : File.join(Dir.pwd, 'artifacts')
end

.run_rake_task(name) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/fwtoolkit/tasks/helper.rb', line 7

def self.run_rake_task(name)
  begin
    Rake::Task[name].invoke
  rescue Exception => e
    return e
  end
  nil
end