summaryrefslogtreecommitdiff
path: root/Rakefile
blob: 0611da03aa30f0b6363d7112c0ef09c8bea374d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- ruby -*-

$: << 'lib'

require './lib/hoe.rb'

Hoe.add_include_dirs "../../minitest/dev/lib"

Hoe.plugin :seattlerb

Hoe.spec "hoe" do
  developer "Ryan Davis", "ryand-ruby@zenspider.com"

  self.rubyforge_name = "seattlerb"

  blog_categories << "Seattle.rb" << "Ruby"

  pluggable!
  require_ruby_version '>= 1.3.6'
end

task :plugins do
  puts `find lib/hoe -name \*.rb | xargs grep -h module.Hoe::`.
    gsub(/module/, '*')
end

[:redocs, :docs].each do |t|
  task t do
    cp "Hoe.pdf", "doc"
    sh "chmod u+w doc/Hoe.pdf"
  end
end

# vim: syntax=ruby