forked from itsmattking/dm-geokit
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRakefile
36 lines (32 loc) · 1.3 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
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = 'dm-geokit'
s.summary = "DataMapper plugin for geokit stuff forked from Foy Savas's project. Now relies on the geokit gem rather than Foy's gem."
s.authors = ['Foy Savas', 'Daniel Higginbotham', 'Matt King']
s.homepage = "http://github.com/mattking17/dm-geokit/tree/master"
s.description = "Simple and opinionated helper for creating Rubygem projects on GitHub"
s.files = FileList["[A-Z]*", "{bin,generators,lib,test}/**/*", 'lib/jeweler/templates/.gitignore']
s.require_path = 'lib'
s.has_rdoc = true
s.platform = Gem::Platform::RUBY
s.extra_rdoc_files = %w[ README LICENSE TODO ]
s.add_dependency 'dm-core'
s.add_dependency 'andre-geokit'
end
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.spec_files = FileList['spec/**/*_spec.rb']
end
Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
end
task :spec => :check_dependencies
task :default => :spec