Sha256: 8b2a196e4aa2fe236cb2c09ecd620d92e60da8fa4220141c3fbc20ae8c68abbc

Contents?: true

Size: 667 Bytes

Versions: 94

Compression:

Stored size: 667 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
        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

94 entries across 94 versions & 1 rubygems

Version Path
autobuild-1.5.53 lib/autobuild/packages/dummy.rb
autobuild-1.5.53.rc1 lib/autobuild/packages/dummy.rb
autobuild-1.5.52 lib/autobuild/packages/dummy.rb
autobuild-1.5.52.rc4 lib/autobuild/packages/dummy.rb
autobuild-1.5.52.rc3 lib/autobuild/packages/dummy.rb
autobuild-1.5.52.rc2 lib/autobuild/packages/dummy.rb
autobuild-1.5.52.rc1 lib/autobuild/packages/dummy.rb
autobuild-1.5.51 lib/autobuild/packages/dummy.rb
autobuild-1.5.50 lib/autobuild/packages/dummy.rb
autobuild-1.5.49 lib/autobuild/packages/dummy.rb
autobuild-1.5.48 lib/autobuild/packages/dummy.rb
autobuild-1.5.47 lib/autobuild/packages/dummy.rb
autobuild-1.5.46 lib/autobuild/packages/dummy.rb
autobuild-1.5.46.rc1 lib/autobuild/packages/dummy.rb
autobuild-1.5.45 lib/autobuild/packages/dummy.rb
autobuild-1.5.43 lib/autobuild/packages/dummy.rb
autobuild-1.5.42 lib/autobuild/packages/dummy.rb
autobuild-1.5.41 lib/autobuild/packages/dummy.rb
autobuild-1.5.40 lib/autobuild/packages/dummy.rb
autobuild-1.5.39 lib/autobuild/packages/dummy.rb