Sha256: 035b90f2dff3c0ecf43e09868db54e5ab66a2c691f05a83f93e0d1c0273af4d1

Contents?: true

Size: 296 Bytes

Versions: 18

Compression:

Stored size: 296 Bytes

Contents

namespace :deploy do
  desc 'Copies .git folder (Capistrano 3. Bug?)'
  task :copy_git do
    on roles(:app) do
        puts release_path
        within release_path do
              execute :cp, '-r', repo_path, '.git'
        end
    end
  end

  before 'bundler:install', 'deploy:copy_git'
end

Version data entries

18 entries across 9 versions & 1 rubygems

Version Path
rgentpl-1.2.6 lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.6 src/lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.5 lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.5 src/lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.4.3 src/lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.4.3 lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.4.2 lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.4.2 src/lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.4.1 src/lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.4.1 lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.4 src/lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.4 lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.3 src/lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.3 lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.2 lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.2 src/lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.1 src/lib/capistrano/tasks/copy_git.rake
rgentpl-1.2.1 lib/capistrano/tasks/copy_git.rake