Sha256: 21a6e018251ea29b1720e6385a3ad54c489bb42bbfe06d0c0b91704ad220aca7

Contents?: true

Size: 376 Bytes

Versions: 2

Compression:

Stored size: 376 Bytes

Contents

require 'rake/tasklib'

def assemblyinfotask(name=:assemblyinfo, *args, &block)
	Albacore::AssemblyInfoTask.new(name, *args, &block)
end
	
module Albacore
	class AssemblyInfoTask < Albacore::AlbacoreTask
		def execute(task_args)
			@asm = AssemblyInfo.new
			@block.call(@asm, *task_args) unless @block.nil?
			@asm.write
			fail if @asm.failed
		end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
albacore-0.0.9 lib/rake/assemblyinfotask.rb
albacore-0.0.8 lib/rake/assemblyinfotask.rb