aboutsummaryrefslogtreecommitdiffstats
path: root/actionservice/Rakefile
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-02-18 10:58:25 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-02-18 10:58:25 +0000
commitbc8e41247b2bdc37da8be4e963caf99451418cd2 (patch)
treeadf19267c602b0b14ae5596d93a81b1cae353437 /actionservice/Rakefile
parent45acc8c760baf8a677cb947aa5814f4d30b13b41 (diff)
downloadrails-bc8e41247b2bdc37da8be4e963caf99451418cd2.tar.gz
rails-bc8e41247b2bdc37da8be4e963caf99451418cd2.tar.bz2
rails-bc8e41247b2bdc37da8be4e963caf99451418cd2.zip
Integrated Action Service with the existing elements
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionservice/Rakefile')
-rw-r--r--actionservice/Rakefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/actionservice/Rakefile b/actionservice/Rakefile
index 9bdd25be2a..d3e3a3de53 100644
--- a/actionservice/Rakefile
+++ b/actionservice/Rakefile
@@ -50,7 +50,7 @@ spec = Gem::Specification.new do |s|
s.author = "Leon Breedt"
s.email = "bitserf@gmail.com"
s.rubyforge_project = "actionservice"
- s.homepage = "http://rubyforge.org/projects/actionservice"
+ s.homepage = "http://www.rubyonrails.com"
s.add_dependency('actionpack', '>= 1.4.0')
s.add_dependency('activerecord', '>= 1.6.0')
@@ -73,13 +73,20 @@ Rake::GemPackageTask.new(spec) do |p|
end
-desc "Publish API docs to RubyForge"
-task :pdoc => [:rdoc] do
- FileUtils.mkdir_p 'html'
- FileUtils.mv 'doc', 'html/api'
- Rake::RubyForgePublisher.new('actionservice', 'ljb').upload
+# Publish beta gem
+desc "Publish the API documentation"
+task :pgem => [:package] do
+ Rake::SshFilePublisher.new("davidhh@comox.textdrive.com", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
+ `ssh davidhh@comox.textdrive.com './gemupdate.sh'`
end
+# Publish documentation
+desc "Publish the API documentation"
+task :pdoc => [:rdoc] do
+ Rake::SshDirPublisher.new("davidhh@comox.textdrive.com", "public_html/as", "doc").upload
+end
+
+
def each_source_file(*args)
prefix, includes, excludes, open_file = args
prefix ||= File.dirname(__FILE__)