Sha256: 748449dfb7dcb52729c5daff19dd8a96797fee1eeeb23763004abed6b28fc4d3

Contents?: true

Size: 918 Bytes

Versions: 28

Compression:

Stored size: 918 Bytes

Contents

require 'hoe'
require 'lib/autobuild'

Hoe.spec 'autobuild' do
    developer "Sylvain Joyeux", "sylvain.joyeux@m4x.org"

    self.summary = 'Rake-based utility to build and install multiple packages with dependencies'
    self.description = self.paragraphs_of('README.txt', 2..5).join("\n\n")
    self.url         = self.paragraphs_of('README.txt', 1).first.split(/\n/)[1..-1].map { |s| s.gsub('* ', '') }
    self.changes     = self.paragraphs_of('Changes.txt', 0..2).join("\n\n")

    self.extra_deps <<
        ['rake', '>= 0.7.0'] <<
        ['rmail', '>= 1.0'] <<
        ['daemons', '>= 0.0'] <<
        ['utilrb', '>= 1.3.3']
end

Rake.clear_tasks(/publish_docs/)
task 'publish_docs' => 'docs' do
    if !system('./update_github')
        raise "cannot update the gh-pages branch for GitHub"
    end
    if !system('git', 'push', 'origin', 'gh-pages')
        raise "cannot push the documentation"
    end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
autobuild-1.5.18 Rakefile
autobuild-1.5.17 Rakefile
autobuild-1.5.16 Rakefile
autobuild-1.5.15 Rakefile
autobuild-1.5.14 Rakefile
autobuild-1.5.13 Rakefile
autobuild-1.5.12 Rakefile
autobuild-1.5.11 Rakefile
autobuild-1.5.10 Rakefile
autobuild-1.5.9 Rakefile
autobuild-1.5.8 Rakefile
autobuild-1.5.7 Rakefile
autobuild-1.5.6 Rakefile
autobuild-1.5.5 Rakefile
autobuild-1.5.4 Rakefile
autobuild-1.5.3 Rakefile
autobuild-1.5.2 Rakefile
autobuild-1.5.1 Rakefile
autobuild-1.5.0 Rakefile
autobuild-1.4.9 Rakefile