forked from hashicorp/vagrant
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
41 lines (36 loc) · 1.4 KB
/
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
37
38
39
40
41
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 = ["[email protected]", "[email protected]"]
gemspec.homepage = "http://github.com/mitchellh/vagrant"
gemspec.authors = ["Mitchell Hashimoto", "John Bender"]
gemspec.add_dependency('virtualbox', '~> 0.6.2')
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('archive-tar-minitar', '= 0.5.2')
gemspec.add_dependency('mario', '~> 0.0.6')
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
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