forked from snusnu/dm-reflection
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
38 lines (25 loc) · 1.04 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
require 'rubygems'
require 'rake'
begin
gem 'jeweler', '>= 1.4'
require 'jeweler'
require File.expand_path('../lib/dm-reflection/version', __FILE__)
Jeweler::Tasks.new do |gem|
gem.version = DataMapper::Reflection::VERSION
gem.name = "dm-reflection"
gem.summary = %Q{Generates datamapper models from existing database schemas}
gem.description = %Q{Generates datamapper models from existing database schemas and export them to files}
gem.email = "[email protected]"
gem.homepage = "http://github.com/irjudson/dm-reflection"
gem.authors = ["Martin Gamsjaeger (snusnu), Yogo Team"]
gem.add_dependency 'dm-core', '~> 0.10.2'
gem.add_development_dependency 'rspec', '~> 1.3'
gem.add_development_dependency 'yard', '~> 0.5'
end
Jeweler::GemcutterTasks.new
FileList['tasks/**/*.rake'].each { |task| import task }
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
task :spec => :check_dependencies
task :default => :spec