Sha256: e5c011a32f81b8c1cc63df805c9caff28adf3470863a516321cb12594a1dd469
Contents?: true
Size: 921 Bytes
Versions: 38
Compression:
Stored size: 921 Bytes
Contents
require 'hoe' 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/, /default/) task "default" 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
38 entries across 38 versions & 1 rubygems