Class: Coveralls::RakeTask

Inherits:
Rake::TaskLib
  • Object
show all
Includes:
Rake::DSL
Defined in:
lib/coveralls/rake/task.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args, &task_block) ⇒ RakeTask

Returns a new instance of RakeTask.



8
9
10
11
12
13
14
15
16
# File 'lib/coveralls/rake/task.rb', line 8

def initialize(*args, &task_block)
  namespace :coveralls do
    desc "Push latest coverage results to Coveralls.io"
    task :push do
      require 'coveralls'
      Coveralls.push!
    end
  end
end