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.38 lib/autobuild/packages/dummy.rb
autobuild-1.5.37 lib/autobuild/packages/dummy.rb
autobuild-1.5.36 lib/autobuild/packages/dummy.rb
autobuild-1.5.35 lib/autobuild/packages/dummy.rb
autobuild-1.5.34 lib/autobuild/packages/dummy.rb
autobuild-1.5.33 lib/autobuild/packages/dummy.rb
autobuild-1.5.32 lib/autobuild/packages/dummy.rb
autobuild-1.5.31 lib/autobuild/packages/dummy.rb
autobuild-1.5.30 lib/autobuild/packages/dummy.rb
autobuild-1.5.29 lib/autobuild/packages/dummy.rb
autobuild-1.5.28 lib/autobuild/packages/dummy.rb
autobuild-1.5.27 lib/autobuild/packages/dummy.rb
autobuild-1.5.26 lib/autobuild/packages/dummy.rb
autobuild-1.5.25 lib/autobuild/packages/dummy.rb