File: upload_task.rb

package info (click to toggle)
capistrano 3.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 820 kB
  • sloc: ruby: 5,351; makefile: 5
file content (9 lines) | stat: -rw-r--r-- 194 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
require "rake/file_creation_task"

module Capistrano
  class UploadTask < Rake::FileCreationTask
    def needed?
      true # always needed because we can't check remote hosts
    end
  end
end