vagrant/Rakefile

41 lines
1.4 KiB
Ruby
Raw Normal View History

require 'rake/testtask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "vagrant"
gemspec.summary = "Vagrant is a tool for building and distributing virtualized development environments."
gemspec.description = "Vagrant is a tool for building and distributing virtualized development environments."
gemspec.email = ["mitchell.hashimoto@gmail.com", "john.m.bender@gmail.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('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"
2010-01-22 05:08:55 +00:00
t.pattern = 'test/**/*_test.rb'
2010-01-22 05:07:01 +00:00
end
begin
require 'yard'
YARD::Rake::YardocTask.new do |t|
t.options = ['--main', 'README.md', '--markup', 'markdown']
t.options += ['--title', 'Vagrant Developer Documentation']
end
rescue LoadError
puts "Yard not available. Install it with: gem install yard"
puts "if you wish to be able to generate developer documentation."
end