forked from ianwhite/orm_adapter
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Rakefile
39 lines (32 loc) · 1.06 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
require 'rubygems'
require 'rake'
require 'rspec/core/rake_task'
require 'yard'
$:.unshift File.expand_path('lib')
require 'orm_adapter/version'
task :spec => :check_dependencies
task :default => :spec
desc "Run the specs"
RSpec::Core::RakeTask.new(:spec)
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "orm_adapter"
gem.version = OrmAdapter::VERSION
gem.summary = %Q{Provides a single point of entry for using basic features of ruby ORMs}
gem.description = %Q{Provides a single point of entry for using basic features of ruby ORMs}
gem.email = "[email protected]"
gem.homepage = "http://github.com/ianwhite/orm_adapter"
gem.authors = ["Ian White", "Jose Valim"]
end
Jeweler::GemcutterTasks.new
namespace :release do
desc "release to github and gemcutter"
task :all => ['release', 'gemcutter:release']
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
YARD::Rake::YardocTask.new(:doc) do |t|
t.files = ['lib/**/*.rb', 'README.rdoc']
end