Sha256: 22fa11a22b1f8911cfcdf163a11cbe016fffbb33dabdcd398bbb7d1b065998ca
Contents?: true
Size: 383 Bytes
Versions: 1
Compression:
Stored size: 383 Bytes
Contents
require 'rake/tasklib' module Albacore class AssemblyInfoTask < Rake::TaskLib attr_accessor :name def initialize(name=:assemblyinfo, &block) @name = name @asm = AssemblyInfo.new @block = block define end def define task name do @block.call(@asm) unless @block.nil? @asm.write fail if @asm.failed end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.0.7 | lib/rake/assemblyinfotask.rb |