Sha256: b1a29ce215de03f189772d7a9b9bda7aa2f4cc87ab5c3c3c6c858d00376c1834

Contents?: true

Size: 328 Bytes

Versions: 10

Compression:

Stored size: 328 Bytes

Contents

module FWToolkit
  module Tasks
    def self.cc_artifacts_dir
      ENV['CC_BUILD_ARTIFACTS'] ? ENV['CC_BUILD_ARTIFACTS'] : File.join(Dir.pwd, 'artifacts')
    end
    
    def self.run_rake_task(name)
      begin
        Rake::Task[name].invoke
      rescue Exception => e
        return e
      end
      nil
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fwtoolkit-0.9.3 lib/fwtoolkit/tasks/helper.rb
fwtoolkit-0.9.2 lib/fwtoolkit/tasks/helper.rb
fwtoolkit-0.9.1 lib/fwtoolkit/tasks/helper.rb
fwtoolkit-0.9.0 lib/fwtoolkit/tasks/helper.rb
fwtoolkit-0.8.7 lib/fwtoolkit/tasks/helper.rb
fwtoolkit-0.8.6 lib/fwtoolkit/tasks/helper.rb
fwtoolkit-0.8.5 lib/fwtoolkit/tasks/helper.rb
fwtoolkit-0.8.4 lib/fwtoolkit/tasks/helper.rb
fwtoolkit-0.8.3 lib/fwtoolkit/tasks/helper.rb
fwtoolkit-0.8.2 lib/fwtoolkit/tasks/helper.rb