2010-01-22 03:09:18 +00:00
|
|
|
require 'rake/testtask'
|
|
|
|
|
2010-01-31 06:06:22 +00:00
|
|
|
begin
|
|
|
|
require 'jeweler'
|
|
|
|
Jeweler::Tasks.new do |gemspec|
|
|
|
|
gemspec.name = "hobo"
|
|
|
|
gemspec.summary = "Create virtualized development environments"
|
|
|
|
gemspec.description = "Create virtualized development environments"
|
|
|
|
gemspec.email = "todo@todo.com"
|
|
|
|
gemspec.homepage = "http://github.com/mitchellh/hobo"
|
|
|
|
gemspec.authors = ["Mitchell Hashimoto", "John Bender"]
|
|
|
|
end
|
|
|
|
Jeweler::GemcutterTasks.new
|
|
|
|
rescue LoadError
|
|
|
|
puts "Jeweler not available. Install it with: gem install jeweler"
|
|
|
|
end
|
|
|
|
|
2010-01-22 03:09:18 +00:00
|
|
|
task :default => :test
|
|
|
|
|
|
|
|
Rake::TestTask.new do |t|
|
|
|
|
t.libs << "test"
|
2010-01-22 05:08:55 +00:00
|
|
|
t.pattern = 'test/**/*_test.rb'
|
2010-01-22 05:07:01 +00:00
|
|
|
end
|