Sha256: 3e538a1342d7532b4bde0338c232a9eaeab807b74a86465c8521a1990929c694
Contents?: true
Size: 392 Bytes
Versions: 2
Compression:
Stored size: 392 Bytes
Contents
require 'rake/tasklib' def ncoverconsoletask(name=:ncoverconsole, *args, &block) Albacore::NCoverConsoleTask.new(name, *args, &block) end module Albacore class NCoverConsoleTask < Albacore::AlbacoreTask def execute(task_args) @ncover = NCoverConsole.new @block.call(@ncover, *task_args) unless @block.nil? @ncover.run fail if @ncover.failed end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.0.9 | lib/rake/ncoverconsoletask.rb |
albacore-0.0.8 | lib/rake/ncoverconsoletask.rb |