added behavior section to site index
[god.git] / Rakefile
blobcd1c6766883b1c17422f4270c9f70e6ec7488c51
1 # -*- ruby -*-
3 require 'rubygems'
4 require 'hoe'
5 require './lib/god.rb'
7 Hoe.new('god', God::VERSION) do |p|
8   p.rubyforge_name = 'god'
9   # p.author = 'FIX'
10   # p.email = 'FIX'
11   # p.summary = 'FIX'
12   # p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
13   # p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
14   p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
15 end
17 desc "Open an irb session preloaded with this library"
18 task :console do
19   sh "irb -rubygems -r ./lib/god.rb"
20 end
22 desc "Upload site to Rubyforge"
23 task :site do
24   sh "scp -r site/* mojombo@god.rubyforge.org:/var/www/gforge-projects/god"
25 end
27 # vim: syntax=Ruby