Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (22 sloc) 713 Bytes
require 'rake'
begin
require 'hanna/rdoctask'
rescue LoadError
require 'rake/rdoctask'
end
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = "rdoc"
rdoc.options += ["--quiet", "--line-numbers", "--inline-source"]
rdoc.main = "README"
rdoc.title = "Scaffolding Extensions: Administrative database front-end for multiple web-frameworks and ORMs"
rdoc.rdoc_files.add ["README", "LICENSE", "lib/**/*.rb", "doc/*.txt"]
end
desc "Update docs and upload to rubyforge.org"
task :website => [:rdoc]
task :website do
sh %{rsync -rvt rdoc/* rubyforge.org:/var/www/gforge-projects/scaffolding-ext/}
end
desc "Package Scaffolding Extensions"
task :package do
sh %{gem build scaffolding_extensions.gemspec}
end