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