Sha256: 2d62f9a75bc86a728b050799d14c361efc4fbccff48c6fecd7c0b96acc689f56

Contents?: true

Size: 685 Bytes

Versions: 22

Compression:

Stored size: 685 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(only_local=false)
        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

22 entries across 22 versions & 1 rubygems

Version Path
autobuild-1.9.0.b3 lib/autobuild/packages/dummy.rb
autobuild-1.9.0.b2 lib/autobuild/packages/dummy.rb
autobuild-1.9.0.b1 lib/autobuild/packages/dummy.rb
autobuild-1.8.3 lib/autobuild/packages/dummy.rb
autobuild-1.8.2 lib/autobuild/packages/dummy.rb
autobuild-1.8.1 lib/autobuild/packages/dummy.rb
autobuild-1.8.0 lib/autobuild/packages/dummy.rb
autobuild-1.7.12.rc6 lib/autobuild/packages/dummy.rb
autobuild-1.7.12.rc5 lib/autobuild/packages/dummy.rb
autobuild-1.7.12.rc4 lib/autobuild/packages/dummy.rb
autobuild-1.7.12.rc3 lib/autobuild/packages/dummy.rb
autobuild-1.7.12.rc2 lib/autobuild/packages/dummy.rb
autobuild-1.7.12.rc1 lib/autobuild/packages/dummy.rb
autobuild-1.7.12.b1 lib/autobuild/packages/dummy.rb
autobuild-1.7.11 lib/autobuild/packages/dummy.rb
autobuild-1.7.11.rc7 lib/autobuild/packages/dummy.rb
autobuild-1.7.11.rc6 lib/autobuild/packages/dummy.rb
autobuild-1.7.11.rc5 lib/autobuild/packages/dummy.rb
autobuild-1.7.11.rc4 lib/autobuild/packages/dummy.rb
autobuild-1.7.11.rc3 lib/autobuild/packages/dummy.rb