Skip to content
This repository has been archived by the owner on Dec 25, 2020. It is now read-only.

Commit

Permalink
converted to Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mneumann committed Dec 13, 2004
1 parent 59837b8 commit d32f443
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
5 changes: 0 additions & 5 deletions Makefile

This file was deleted.

22 changes: 22 additions & 0 deletions Rakefile
@@ -0,0 +1,22 @@
require 'rake/rdoctask'
require 'rake/testtask'

Rake::RDocTask.new do |rd|
rd.main = "README"
rd.rdoc_dir = 'doc/tmp'
rd.rdoc_files.include('lib/**/*.rb', 'README')
rd.options << '--all --inline-source'
end

task :rdoc do
sh 'cpdup -o doc/tmp doc/rdoc'
end

Rake::TestTask.new do |t|
t.test_files = FileList['test/test*.rb']
t.verbose = true
end

task :clean => [:clobber_rdoc]

task :default => [:test, :rdoc, :clean]
1 change: 0 additions & 1 deletion test/test_all.rb

This file was deleted.

1 change: 0 additions & 1 deletion test/test_component.rb
@@ -1,5 +1,4 @@
require 'test/unit'
$LOAD_PATH.unshift "../lib"
module Wee; end
require 'wee/core'

Expand Down
1 change: 0 additions & 1 deletion test/test_html_writer.rb
@@ -1,5 +1,4 @@
require 'test/unit'
$LOAD_PATH.unshift "../lib"
module Wee; end
require 'wee/rendering/html/writer'

Expand Down

0 comments on commit d32f443

Please sign in to comment.