Sha256: ec5da541b81e69c90fa60ff7387f90d3e08ebf836eeed77afbd6bfd29c4e2566
Contents?: true
Size: 387 Bytes
Versions: 2
Compression:
Stored size: 387 Bytes
Contents
require 'rake/tasklib' module Albacore class AlbacoreTask < ::Rake::TaskLib attr_accessor :name def initialize(name, *args, &block) @block = block @args = args.insert(0, name) @name = name define end def define task *@args do |task, task_args| execute @name.to_s, task_args end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.1.1 | lib/rake/support/albacoretask.rb |
albacore-0.1.0 | lib/rake/support/albacoretask.rb |