Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (30 sloc) 0.812 kb
29f918e @rhalff Switch to using Jeweler
rhalff authored
1 require 'rubygems'
e289cfd Moving code to github
Rob Halff authored
2 require 'rake'
29f918e @rhalff Switch to using Jeweler
rhalff authored
3
e289cfd Moving code to github
Rob Halff authored
4 require 'rake/testtask'
29f918e @rhalff Switch to using Jeweler
rhalff authored
5 Rake::TestTask.new(:test) do |test|
6 test.libs << 'lib' << 'test'
7 test.pattern = 'test/**/test_*.rb'
8 test.verbose = true
9 end
10
11 begin
12 require 'rcov/rcovtask'
13 Rcov::RcovTask.new do |test|
14 test.libs << 'test'
15 test.pattern = 'test/**/test_*.rb'
16 test.verbose = true
17 end
18 rescue LoadError
19 task :rcov do
20 abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
21 end
22 end
23
24 task :test => :check_dependencies
e289cfd Moving code to github
Rob Halff authored
25
26 task :default => :test
27
29f918e @rhalff Switch to using Jeweler
rhalff authored
28 require 'rake/rdoctask'
29 Rake::RDocTask.new do |rdoc|
30 version = File.exist?('VERSION') ? File.read('VERSION') : ""
e289cfd Moving code to github
Rob Halff authored
31
32 rdoc.rdoc_dir = 'rdoc'
33f6fde @james2m Corrected a reference to seed_dump.
james2m authored
33 rdoc.title = "seed_dumper #{version}"
29f918e @rhalff Switch to using Jeweler
rhalff authored
34 rdoc.rdoc_files.include('README*')
e289cfd Moving code to github
Rob Halff authored
35 rdoc.rdoc_files.include('lib/**/*.rb')
29f918e @rhalff Switch to using Jeweler
rhalff authored
36 end
Something went wrong with that request. Please try again.