Sha256: 15a9fe3a4478d18bab7a56b3ab3fa875ef957d6bb6e009d3190a2f4fb7181b25

Contents?: true

Size: 681 Bytes

Versions: 26

Compression:

Stored size: 681 Bytes

Contents

module Autobuild
    def self.dummy(spec)
        ImporterPackage.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|
                Rake.task("#{name}-#{phase}")
                t = Rake::Task["#{name}-#{phase}"]
                def t.needed?; false end
            end
            Rake.task(installstamp)
            t = Rake::Task[installstamp]
            def t.needed?; false end

            super
        end
    end
end
    

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
autobuild-1.5.24 lib/autobuild/packages/dummy.rb
autobuild-1.5.23 lib/autobuild/packages/dummy.rb
autobuild-1.5.22 lib/autobuild/packages/dummy.rb
autobuild-1.5.21 lib/autobuild/packages/dummy.rb
autobuild-1.5.21.rc1 lib/autobuild/packages/dummy.rb
autobuild-1.5.20 lib/autobuild/packages/dummy.rb
autobuild-1.5.19 lib/autobuild/packages/dummy.rb
autobuild-1.5.18 lib/autobuild/packages/dummy.rb
autobuild-1.5.17 lib/autobuild/packages/dummy.rb
autobuild-1.5.16 lib/autobuild/packages/dummy.rb
autobuild-1.5.15 lib/autobuild/packages/dummy.rb
autobuild-1.5.14 lib/autobuild/packages/dummy.rb
autobuild-1.5.13 lib/autobuild/packages/dummy.rb
autobuild-1.5.12 lib/autobuild/packages/dummy.rb
autobuild-1.5.11 lib/autobuild/packages/dummy.rb
autobuild-1.5.10 lib/autobuild/packages/dummy.rb
autobuild-1.5.9 lib/autobuild/packages/dummy.rb
autobuild-1.5.8 lib/autobuild/packages/dummy.rb
autobuild-1.5.7 lib/autobuild/packages/dummy.rb
autobuild-1.5.6 lib/autobuild/packages/dummy.rb