Sha256: d0463333c8f0e93c80ef6ac528a58f15b92f5e06ca4662c1b7409c649ebb14dd

Contents?: true

Size: 673 Bytes

Versions: 2

Compression:

Stored size: 673 Bytes

Contents

namespace :typo3 do
  namespace :cms do
    namespace :cli do
      # desc 'Execute TYPO3 cli task in Specific directory'
      # task :run_in_release_path do |task, args| # First agument is directory
      task 'run_in_release_path' do |task, args|
        typo3_cli_in_path(release_path, args.extras)
        # Reenable Task to allow multiple invokation
        task.reenable
      end
    end
  end
end

set :path_to_typo3_cli, File.join('catalog', 'variable_injection_test.phpsh')

set :typo3_environment_cli, {
  CUSTOM_VARIABLE: 1
}

before 'deploy:publishing', 'typo3:cms:cli:run_in_release_path' # with this release_path is defined for the rake task during runtime

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dkdeploy-typo3-cms-8.1.0 spec/fixtures/capistrano/configuration/cli_test_tasks_with_path.rb
dkdeploy-typo3-cms-8.0.0 spec/fixtures/capistrano/configuration/cli_test_tasks_with_path.rb