-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathRakefile
32 lines (26 loc) · 861 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
30
31
32
PROJECT_ROOT = File.expand_path(File.dirname(__FILE__))
$: << File.join(PROJECT_ROOT, 'lib')
require 'rubygems'
require 'jeweler'
require 'spec/rake/spectask'
Jeweler::Tasks.new do |s|
s.name = 'ruby-adt'
s.description = 'A small fast library for reading Advantage Database Server database files (ADT).'
s.summary = 'Read ADT files'
s.platform = Gem::Platform::RUBY
s.authors = ['Chase Gray']
s.email = '[email protected]'
s.add_dependency('activesupport', ['>= 2.1.0'])
s.homepage = 'http://github.com/chasemgray/Ruby-ADT'
end
Jeweler::GemcutterTasks.new
task :default => :spec
desc "Run specs"
Spec::Rake::SpecTask.new :spec do |t|
t.spec_files = FileList['spec/**/*spec.rb']
end
desc "Run spec docs"
Spec::Rake::SpecTask.new :specdoc do |t|
t.spec_opts = ["-f specdoc"]
t.spec_files = FileList['spec/**/*spec.rb']
end