public
Description: newgem - New Gem Generator for RubyGems
Homepage: http://drnic.github.com/newgem
Clone URL: git://github.com/drnic/newgem.git
drnic (author)
Mon Sep 28 12:14:42 -0700 2009
commit  493c421f85053b8cfeb88dfce84c84b56666b984
tree    a8364036956b86d9cb15afc48a7884afa04c3a6c
parent  8c1ad1ace17af3e21acefb8c41fa046d7e091db9
newgem / Rakefile
100644 31 lines (26 sloc) 0.846 kb
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
require 'rubygems'
gem 'hoe', '>= 2.3.0'
require 'hoe'
%w[fileutils rubigen].each { |f| require f }
$:.unshift(File.dirname(__FILE__) + "/lib")
 
Hoe.plugin :newgem
Hoe.plugin :git
Hoe.plugin :website
Hoe.plugin :cucumberfeatures
 
# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
$hoe = Hoe.spec 'newgem' do
  developer 'Dr Nic Williams', 'drnicwilliams@gmail.com'
  self.post_install_message = 'PostInstall.txt'
  self.extra_deps = [
    ['activesupport','>= 2.0.2'],
    ['rubigen',">= #{RubiGen::VERSION}"],
    ['hoe', ">= #{Hoe::VERSION}"],
    ['RedCloth','>= 4.1.1'], # for website generation
    ['syntax','>= 1.0.0']
  ]
  extra_dev_deps << ['cucumber', ">= 0.3.11"]
end
 
require 'newgem/tasks'
 
remove_task :default
task :default => :features