Sha256: 1005da1471fd5488d2501fe1d741fad35048cf5f55ecf3135230a09a61b7d61f
Contents?: true
Size: 687 Bytes
Versions: 47
Compression:
Stored size: 687 Bytes
Contents
module Autobuild def self.dummy(spec) DummyPackage.new(spec) end class DummyPackage < Package def installstamp "#{srcdir}/#{STAMPFILE}" end def initialize(*args) super end def import(options = Hash.new) end def prepare %w{import prepare build doc}.each do |phase| task "#{name}-#{phase}" t = Rake::Task["#{name}-#{phase}"] def t.needed?; false end end task(installstamp) t = Rake::Task[installstamp] def t.needed?; false end super end end end
Version data entries
47 entries across 47 versions & 1 rubygems