-
Notifications
You must be signed in to change notification settings - Fork 11
/
Rakefile
29 lines (26 loc) · 858 Bytes
/
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
require 'rake'
require 'rake/testtask'
task :default => [:test_units]
desc "Run basic tests"
Rake::TestTask.new("test_units") { |t|
t.pattern = 'test/*_test.rb'
t.verbose = true
t.warning = true
}
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "dreamy"
gemspec.summary = "A Ruby library and command line tool for accessing DreamHost's API"
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/sant0sk1/dreamy"
gemspec.authors = ["Jerod Santo"]
gemspec.add_dependency('terminal-table', '>= 1.0.5')
gemspec.add_dependency('hpricot', '>= 0.7')
gemspec.add_dependency('uuid', '>= 2.0.1')
gemspec.files.exclude 'test/credentials.yml'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end