GC safety fixes to ensure return value of rb_inspect() stays on the stack
[lwes-ruby.git] / Rakefile
blob379f327cb7ce5faed38863dbb96d7dfb01a62360
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.warning = true
11   t.verbose = true if ENV["VERBOSE"].to_i > 0
12 end
14 gem 'rdoc', '>= 2.4.3'
15 require 'rdoc/task'
16 RDoc::Task.new do |rd|
17   rd.main = "README"
18   rd.rdoc_files.include("README", "lib/**/*.rb", "ext/lwes/*.c")
19 end