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

Version Path
autobuild-1.10.0.rc12 lib/autobuild/packages/dummy.rb
autobuild-1.10.0.rc11 lib/autobuild/packages/dummy.rb
autobuild-1.9.5 lib/autobuild/packages/dummy.rb
autobuild-1.9.4 lib/autobuild/packages/dummy.rb
autobuild-1.10.0.rc10 lib/autobuild/packages/dummy.rb
autobuild-1.9.4.rc1 lib/autobuild/packages/dummy.rb
autobuild-1.10.0.rc9 lib/autobuild/packages/dummy.rb
autobuild-1.10.0.rc8 lib/autobuild/packages/dummy.rb
autobuild-1.10.0.rc7 lib/autobuild/packages/dummy.rb
autobuild-1.10.0.rc6 lib/autobuild/packages/dummy.rb
autobuild-1.10.0.rc5 lib/autobuild/packages/dummy.rb
autobuild-1.10.0.rc4 lib/autobuild/packages/dummy.rb
autobuild-1.10.0.rc3 lib/autobuild/packages/dummy.rb
autobuild-1.10.0.rc2 lib/autobuild/packages/dummy.rb
autobuild-1.9.3 lib/autobuild/packages/dummy.rb
autobuild-1.9.3.b4 lib/autobuild/packages/dummy.rb
autobuild-1.9.3.b3 lib/autobuild/packages/dummy.rb
autobuild-1.9.3.b2 lib/autobuild/packages/dummy.rb
autobuild-1.9.3.b1 lib/autobuild/packages/dummy.rb
autobuild-1.10.0.rc1 lib/autobuild/packages/dummy.rb