Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 19 lines (15 sloc) 0.431 kb
c983af8 @avdi initial commit
avdi authored
1 require 'rake'
2 require 'rake/rdoctask'
3 require 'spec/rake/spectask'
4
5 desc "Run all examples"
6 Spec::Rake::SpecTask.new('spec') do |t|
7 t.spec_files = FileList['spec/**/*_spec.rb']
8 end
9
10 Rake::RDocTask.new do |rd|
11 rd.main = "README"
2e46b54 @avdi * Actually works in a real world project.
avdi authored
12 rd.rdoc_files.include("README", "LICENSE", "lib/**/*.rb")
c983af8 @avdi initial commit
avdi authored
13 end
fb28947 @avdi * Added publish task
avdi authored
14
15 desc "Publish project home page"
16 task :publish => ["rdoc"] do
17 sh "rsync --recursive html/* avdi.org:avdi.org/projects/nulldb/"
18 end
Something went wrong with that request. Please try again.