31 lines
968 B
Ruby
31 lines
968 B
Ruby
require 'rake/testtask'
|
|
|
|
begin
|
|
require 'jeweler'
|
|
Jeweler::Tasks.new do |gemspec|
|
|
gemspec.name = "vagrant"
|
|
gemspec.summary = "Create virtualized development environments"
|
|
gemspec.description = "Create virtualized development environments"
|
|
gemspec.email = "todo@todo.com"
|
|
gemspec.homepage = "http://github.com/mitchellh/vagrant"
|
|
gemspec.authors = ["Mitchell Hashimoto", "John Bender"]
|
|
|
|
gemspec.add_dependency('virtualbox', '>= 0.5.0')
|
|
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')
|
|
gemspec.add_dependency('tarruby', '>= 0.1.5')
|
|
end
|
|
Jeweler::GemcutterTasks.new
|
|
rescue LoadError
|
|
puts "Jeweler not available. Install it with: gem install jeweler"
|
|
end
|
|
|
|
task :default => :test
|
|
|
|
Rake::TestTask.new do |t|
|
|
t.libs << "test"
|
|
t.pattern = 'test/**/*_test.rb'
|
|
end
|