forked from sdague/temperature.rb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
36 lines (28 loc) · 1016 Bytes
/
Rakefile
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
35
36
require 'rubygems'
gem 'hoe', '>= 2.1.0'
require 'hoe'
require 'fileutils'
require './lib/temperature'
ENV['VERSION'] = Temperature::VERSION
Hoe.plugin :newgem
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 'temperature' do
self.developer 'Sean Dague', '[email protected]'
self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
self.rubyforge_name = "sdaguegems" # TODO this is default value
self.extra_rdoc_files = ["README.rdoc"]
self.readme_file = "README.rdoc"
# self.extra_deps = [['activesupport','>= 2.0.2']]
end
if ENV['UNDER_HUDSON']
require 'ci/reporter/rake/test_unit'
task :test => ["ci:setup:testunit"]
end
require 'newgem/tasks'
Dir['tasks/**/*.rake'].each { |t| load t }
# TODO - want other tests/tasks run by default? Add them to the list
# remove_task :default
# task :default => [:spec, :features]