Rakefile in cartesian-0.5.3 vs Rakefile in cartesian-0.6.0
- old
+ new
@@ -21,6 +21,14 @@
require 'newgem/tasks'
Dir['tasks/**/*.rake'].each { |t| load t }
# TODO - want other tests/tasks run by default? Add them to the list
# remove_task :default
-# task :default => [:spec, :features]
+# task :default => [:spec, :features]
+
+task :render_website do |t|
+ Dir.chdir File.dirname(File.expand_path(__FILE__))
+ system %q{ script/txt2html website/index.txt website/template.html.erb > website/index.html }
+ system %q{ rdoc README.rdoc lib/*.rb }
+ system %q{ rm -rf website/doc; mv doc website }
+end
+