make C++ users happy
[lwes-ruby.git] / Rakefile
blob380e43ab235fe2bfc5be1d97fc5e60e1117dfdc5
1 require 'rake/testtask'
3 desc "run all tests"
4 task :test => %w(test:unit)
6 desc "run unit tests"
7 Rake::TestTask.new('test:unit') do |t|
8   t.libs << "ext/lwes"
9   t.test_files = FileList['test/unit/test_*.rb']
10   t.verbose = true if ENV["VERBOSE"].to_i > 0
11 end
13 gem 'rdoc', '>= 2.4.3'
14 require 'rdoc/task'
15 RDoc::Task.new do |rd|
16   rd.main = "README"
17   rd.rdoc_files.include("README", "lib/**/*.rb", "ext/lwes/*.c")
18 end