Rakefile in rfuzz-0.6 vs Rakefile in rfuzz-0.7

- old
+ new

@@ -6,21 +6,21 @@ require 'tools/rakehelp' require 'fileutils' include FileUtils setup_tests -setup_clean ["pkg", "lib/*.bundle", "*.gem", ".config"] +setup_clean ["pkg", "lib/*.bundle", "*.gem", ".config", "ext/**/Makefile"] setup_rdoc ['README', 'LICENSE', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc'] setup_extension('http11_client','http11_client') setup_extension('fuzzrnd','fuzzrnd') desc "Does a full compile, test run" task :default => [:http11_client, :fuzzrnd, :test] -version="0.6" +version="0.7" name="rfuzz" setup_gem(name, version) do |spec| spec.summary = "The rfuzz web server destructor" spec.description = spec.summary @@ -41,8 +41,13 @@ task :uninstall => [:clean] do sh %{sudo gem uninstall #{name}} end -task :project => [:clean, :ragel, :default, :test, :rdoc, :rcov, :package] do +task :site do + sh %{pushd doc/site; webgen; popd} + sh %{scp -r doc/site/output/* @rubyforge.org:/var/www/gforge-projects/rfuzz/} +end + +task :project => [:clean, :ragel, :default, :test, :rdoc, :rcov, :package, :site] do sh %{scp -r doc/rdoc test/coverage @rubyforge.org:/var/www/gforge-projects/rfuzz/} end