Hoe plugins providing tasks used by seattle.rb including minitest, perforce, and email providing full front-to-back release/annouce automation.
require 'rubygems' require 'hoe' Hoe.plugin :seattlerb Hoe.spec 'blah' do developer 'Ryan Davis', 'firstname.lastname@example.org' email_to << 'blah@mailing_list.com' end
Once you activate the email plugin you should run:
% rake config_hoe
A new section called email will be created at the bottom of the file. Fill this out as appropriate for your email host. An example gmail config is below:
email: user: user.name pass: xxxx auth: plain port: submission to: - email@example.com host: smtp.gmail.com
The perforce plugin adds a branch task attached to the prerelease task. As well as branching, it checks the manifest against the actual files and aborts if there is a mismatch.
The file structure it expects is:
Since you’re running from rake and rake always backs up to the work directory (presumed to be “dev” in this case) everything is done relative to that location.
gem install hoe-seattlerbIf you want to hack on hoe-seattlerb, clone it from GitHub:
git clone git://github.com/seattlerb/hoe-seattlerb