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