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|
|
2010-02-10 07:08:23 +00:00
|
|
|
gemspec.name = "vagrant"
|
2010-01-31 06:06:22 +00:00
|
|
|
gemspec.summary = "Create virtualized development environments"
|
|
|
|
gemspec.description = "Create virtualized development environments"
|
|
|
|
gemspec.email = "todo@todo.com"
|
2010-02-10 07:08:23 +00:00
|
|
|
gemspec.homepage = "http://github.com/mitchellh/vagrant"
|
2010-01-31 06:06:22 +00:00
|
|
|
gemspec.authors = ["Mitchell Hashimoto", "John Bender"]
|
2010-02-10 06:48:08 +00:00
|
|
|
|
|
|
|
gemspec.add_dependency('virtualbox', '>= 0.4.3')
|
|
|
|
gemspec.add_dependency('net-ssh', '>= 2.0.19')
|
|
|
|
gemspec.add_dependency('net-scp', '>= 1.0.2')
|
|
|
|
gemspec.add_dependency('json', '>= 1.2.0')
|
|
|
|
gemspec.add_dependency('jashmenn-git-style-binaries', '>= 0.1.10')
|
2010-01-31 06:06:22 +00:00
|
|
|
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
|