root/trunk/extensions/import_export/Rakefile

Revision 406, 0.7 kB (checked in by jlong, 1 year ago)

merged extensions over from the mental branch into head

Line 
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
4
5 desc 'Default: run unit tests.'
6 task :default => :test
7
8 desc 'Test the import_export extension.'
9 Rake::TestTask.new(:test) do |t|
10   t.libs << 'lib'
11   t.pattern = 'test/**/*_test.rb'
12   t.verbose = true
13 end
14
15 desc 'Generate documentation for the import_export extension.'
16 Rake::RDocTask.new(:rdoc) do |rdoc|
17   rdoc.rdoc_dir = 'rdoc'
18   rdoc.title    = 'ImportExportExtension'
19   rdoc.options << '--line-numbers' << '--inline-source'
20   rdoc.rdoc_files.include('README')
21   rdoc.rdoc_files.include('lib/**/*.rb')
22 end
23
24 # Load any custom rakefiles for extension
25 Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f }
Note: See TracBrowser for help on using the browser.