aboutsummaryrefslogtreecommitdiffstats
path: root/actionservice/Rakefile
diff options
context:
space:
mode:
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__)