Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 54 lines (47 sloc) 1.602 kB
99e1aaa @alexrabarts Version bump to 0.1.0
alexrabarts authored
1 require 'rake'
2
3 begin
4 require 'jeweler'
5 Jeweler::Tasks.new do |s|
6 s.name = "big_sitemap"
7 s.summary = %Q{A Sitemap generator specifically designed for large sites (although it works equally well with small sites)}
8 s.email = "alexrabarts@gmail.com"
9 s.homepage = "http://github.com/alexrabarts/big_sitemap"
10 s.description = "A Sitemap generator specifically designed for large sites (although it works equally well with small sites)"
11 s.authors = ["Alex Rabarts"]
12 s.add_dependency 'builder', ['>=2.1.2']
13 s.add_dependency 'extlib', ['>=0.9.9']
14 end
15 rescue LoadError
16 puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
17 end
18
19 require 'rake/rdoctask'
20 Rake::RDocTask.new do |rdoc|
21 rdoc.rdoc_dir = 'rdoc'
22 rdoc.title = 'big_sitemap'
23 rdoc.options << '--line-numbers' << '--inline-source'
24 rdoc.rdoc_files.include('README*')
25 rdoc.rdoc_files.include('lib/**/*.rb')
26 end
27
28 require 'rake/testtask'
29 Rake::TestTask.new(:test) do |t|
30 t.libs << 'lib' << 'test'
31 t.pattern = 'test/**/*_test.rb'
32 t.verbose = false
33 end
34
35 begin
36 require 'rcov/rcovtask'
37 Rcov::RcovTask.new do |t|
38 t.libs << 'test'
39 t.test_files = FileList['test/**/*_test.rb']
40 t.verbose = true
41 end
42 rescue LoadError
43 puts "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
44 end
45
46 begin
47 require 'cucumber/rake/task'
48 Cucumber::Rake::Task.new(:features)
49 rescue LoadError
50 puts "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
51 end
52
53 task :default => :test
Something went wrong with that request. Please try again.