diff options
| author | technoweenie <technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78> | 2005-09-17 18:40:28 +0000 |
|---|---|---|
| committer | technoweenie <technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78> | 2005-09-17 18:40:28 +0000 |
| commit | 219cbc3f9203b801a5556c7ab414eef97163a953 (patch) | |
| tree | fc604be1d1c38496f84a917a9a3610383a9f32d9 | |
| parent | d27c6c6f636cfa7d8c84336cca5ca369ec79b728 (diff) | |
added publish task and tweaked readme
git-svn-id: http://svn.techno-weenie.net/projects/acts_as_versioned@78 567b1171-46fb-0310-a4c9-b4bef9110e78
| -rw-r--r-- | README | 2 | ||||
| -rw-r--r-- | Rakefile | 9 |
2 files changed, 7 insertions, 4 deletions
@@ -15,5 +15,5 @@ Get a gzipped tar at http://techno-weenie.net/code/pkg RDocs are online at http://techno-weenie.net/code/doc/acts_as_versioned/. Start with the ActiveRecord::Acts::Versioned module. -Special thanks to Dreamer on #rubyonrails for help in early testing. His ServerSideWiki (http://serversidewiki.com/) +Special thanks to Dreamer on ##rubyonrails for help in early testing. His ServerSideWiki (http://serversidewiki.com) was the first project to use acts_as_versioned <em>in the wild</em>.
\ No newline at end of file @@ -26,7 +26,7 @@ Rake::RDocTask.new do |rdoc| rdoc.title = "#{PKG_NAME} -- Simple versioning with active record models" rdoc.options << '--line-numbers --inline-source --accessor cattr_accessor=object' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] - rdoc.rdoc_files.include('RUNNING_UNIT_TESTS', 'CHANGELOG') + rdoc.rdoc_files.include('README', 'CHANGELOG', 'RUNNING_UNIT_TESTS') rdoc.rdoc_files.include('lib/**/*.rb') end @@ -53,7 +53,7 @@ Rake::GemPackageTask.new(spec) do |pkg| pkg.need_tar = true end -desc "Publish the beta gem" +desc "Publish the gem" task :pgem => [:package] do Rake::SshFilePublisher.new(PROD_HOST, "public_html/code/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload Rake::SshFilePublisher.new(PROD_HOST, "public_html/code/pkg", "pkg", "#{PKG_FILE_NAME}.tgz").upload @@ -63,4 +63,7 @@ end desc "Publish the API documentation" task :pdoc => [:rdoc] do Rake::SshDirPublisher.new(PROD_HOST, "public_html/code/doc/acts_as_versioned", "doc").upload -end
\ No newline at end of file +end + +desc 'Publish the gem and API docs' +task :publish => [:pgem, :pdoc]
\ No newline at end of file |
