1 require 'rake/testtask'
5 task :test => %w(test:unit)
8 Rake::TestTask.new('test:unit' => :compile) do |t|
9 t.libs << "ext/lwes_ext"
10 t.test_files = FileList['test/unit/test_*.rb']
12 t.verbose = true if ENV["VERBOSE"].to_i > 0
14 require "rake/extensiontask"
15 Rake::ExtensionTask.new("lwes_ext")
17 gem 'rdoc', '>= 3.5.3'
19 RDoc::Task.new do |rd|
21 rd.rdoc_files.include("README", "lib/**/*.rb", "ext/lwes_ext/*.c")
25 task :update_website => :rerdoc do
26 system 'rsync -avz html/ rubyforge.org:/var/www/gforge-projects/lwes/'