gpx/Rakefile

24 lines
505 B
Ruby
Raw Normal View History

2013-06-16 01:35:46 +02:00
require 'bundler/gem_tasks'
2006-10-14 15:20:23 +02:00
require 'rake/testtask'
2013-06-16 01:35:46 +02:00
require 'rdoc/task'
2006-10-14 15:20:23 +02:00
desc "Default Task"
task :default => [ :test ]
# Run the unit tests
desc "Run all unit tests"
Rake::TestTask.new("test") { |t|
t.libs << "lib"
t.pattern = 'tests/*_test.rb'
t.verbose = true
}
# Genereate the RDoc documentation
desc "Create documentation"
Rake::RDocTask.new("doc") { |rdoc|
rdoc.title = "Ruby GPX API"
rdoc.rdoc_dir = 'html'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
}