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) ⇒ RakeTask

rubocop:disable Lint/MissingSuper



10
11
12
13
14
15
16
17
18
19
# File 'lib/coveralls/rake/task.rb', line 10

def initialize(*_args) # rubocop:disable Lint/MissingSuper
  namespace :coveralls do
    desc 'Push latest coverage results to Coveralls.io'
    task :push do
      require 'coveralls'

      Coveralls.push!
    end
  end
end