#!/usr/bin/env ruby # This is an intersing example of a pure Ruby alternative to the # YAML based project file. I someway I find it more attractive # than the YAML. But of course, YAML is not limited to one langauge # so it is much better for that. title 'Reap' name 'reap' version '4.3.4' date '2006-04-07' created '2004-04-01' status 'beta/stable' author 'Thomas Sawyer' email 'transfire@gmail.com' homepage 'http://reap.rubyforge.org' summary 'Tools for Ruby project testing, management and assistance.' description %{ Reap comprises a set of commonly needed tools for Ruby package developers/deployers. Because of the commonality, Reap utilizes a YAML configuration file to harvest project information, significantly simplifying usage. } distribute [ 'gem', 'deb' ] # zip, tar.gz, tbz, tgz, deb dependencies [ 'facets' ] executables [ 'reap' ] package { dir '../DISTRIBUTION' distribute [ 'deb' ] exclude [ 'dist', 'dev', 'scrap', 'web' ] } rubyforge { project 'reap' username 'transami' } release { host 'rubyforge.org' username 'transami' project 'reap' groupid '811' package 'Reap' dir '../DISTRIBUTION' } publish { type 'web' host 'rubyforge.org' username 'transami' dir 'web' } rdoc { dir 'web/doc/api' include [ 'A-Z*', 'lib/**/*' ] exclude [ 'lib/reap/data' ] } anncounce { to 'transfire@gmail.com' # ruby-talk@ruby-lang.org from 'transfire@gmail.com' domain 'unit.rubyforge.org' server 'smtp.gmail.com' port '587' account 'transfire@gmail.com' type 'login' # cram_md5, plain security 'tls' # ~, tls, ssl (not working yet) #file 'ANN' # which file contains announcement slogan 'REAP THE REWARDS!' links [] }