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:
parent
ec94d84425
commit
eb3bfe2936
1 changed files with 0 additions and 9 deletions
|
@ -60,12 +60,3 @@ task :release => :package do
|
|||
Rake::Gemcutter::Tasks.new(spec).define
|
||||
Rake::Task['gem:push'].invoke
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue