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.7.10 lib/autobuild/packages/dummy.rb
autobuild-1.7.9 lib/autobuild/packages/dummy.rb
autobuild-1.7.8 lib/autobuild/packages/dummy.rb
autobuild-1.7.7 lib/autobuild/packages/dummy.rb
autobuild-1.7.6 lib/autobuild/packages/dummy.rb
autobuild-1.7.5 lib/autobuild/packages/dummy.rb
autobuild-1.7.4 lib/autobuild/packages/dummy.rb
autobuild-1.7.4.rc2 lib/autobuild/packages/dummy.rb
autobuild-1.7.4.rc1 lib/autobuild/packages/dummy.rb
autobuild-1.7.3 lib/autobuild/packages/dummy.rb
autobuild-1.7.3.rc3 lib/autobuild/packages/dummy.rb
autobuild-1.7.3.rc2 lib/autobuild/packages/dummy.rb
autobuild-1.7.3.rc1 lib/autobuild/packages/dummy.rb
autobuild-1.7.2 lib/autobuild/packages/dummy.rb
autobuild-1.7.1 lib/autobuild/packages/dummy.rb
autobuild-1.7.0 lib/autobuild/packages/dummy.rb
autobuild-1.7.0.rc4 lib/autobuild/packages/dummy.rb
autobuild-1.6.5 lib/autobuild/packages/dummy.rb
autobuild-1.7.0.rc3 lib/autobuild/packages/dummy.rb
autobuild-1.7.0.rc2 lib/autobuild/packages/dummy.rb