forked from dprince/ruby-openstack-compute
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
28 lines (26 loc) · 859 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
require 'rubygems'
require './lib/openstack.rb'
require 'rake/testtask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "openstack"
gemspec.summary = "OpenStack Ruby API"
gemspec.description = "API Binding for OpenStack"
gemspec.email = ["[email protected]","[email protected]"]
gemspec.homepage = "https://launchpad.net/ruby-openstack-compute"
gemspec.authors = ["Dan Prince", "Marios Andreou"]
gemspec.add_dependency 'json'
gemspec.files = Dir.glob('lib/**/*.rb')
gemspec.files << "README.rdoc"
gemspec.files << "VERSION"
gemspec.files << "COPYING"
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
Rake::TestTask.new(:test) do |t|
t.pattern = 'test/*_test.rb'
t.verbose = true
end
Rake::Task['test'].comment = "Unit"