1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

remove unused pguides rake task from railties

This commit is contained in:
Vijay Dev 2012-05-02 01:10:59 +05:30
parent ec94d84425
commit eb3bfe2936

View file

@ -60,12 +60,3 @@ task :release => :package do
Rake::Gemcutter::Tasks.new(spec).define Rake::Gemcutter::Tasks.new(spec).define
Rake::Task['gem:push'].invoke Rake::Task['gem:push'].invoke
end end
desc "Publish the guides"
task :pguides => :generate_guides do
require 'rake/contrib/sshpublisher'
mkdir_p 'pkg'
`tar -czf pkg/guides.gz guides/output`
Rake::SshFilePublisher.new("web.rubyonrails.org", "/u/sites/guides.rubyonrails.org/public", "pkg", "guides.gz").upload
`ssh web.rubyonrails.org 'cd /u/sites/guides.rubyonrails.org/public/ && tar -xvzf guides.gz && mv guides/output/* . && rm -rf guides*'`
end