Sha256: 53de38948c922c97bbeb28f2bdf5b15eb91eaed7f5143809d3e278a2f7171f4c
Contents?: true
Size: 802 Bytes
Versions: 2
Compression:
Stored size: 802 Bytes
Contents
# # rubyforge # #begin # require 'rake/contrib/sshpublisher' # namespace :rubyforge do # # desc "Release gem and RDoc documentation to RubyForge" # task :release => ["rubyforge:release:gem", "rubyforge:release:docs"] # # namespace :release do # desc "Publish RDoc to RubyForge." # task :docs => [:rdoc] do # config = YAML.load( # File.read(File.expand_path('~/.rubyforge/user-config.yml')) # ) # # host = "#{config['username']}@rubyforge.org" # remote_dir = "/var/www/gforge-projects/treevisitor/" # local_dir = 'rdoc' # # Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload # end # end # end #rescue LoadError # puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured." #end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
treevisitor-0.1.5 | tasks/rubyforge.rake |
treevisitor-0.1.4 | tasks/rubyforge.rake |