Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/dkdeploy/typo3/cms/tasks/typo3.rake
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ namespace :typo3 do
desc 'Update translations for core and extensions (l10n)'
task :update_translations, :typo3_languages_to_translate do |_, args|
typo3_languages_to_translate = ask_variable(args, :typo3_languages_to_translate, 'questions.typo3_languages_to_translate')
typo3_cli 'lang:language:update', typo3_languages_to_translate
typo3_console 'lang:language:update', typo3_languages_to_translate
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The task should be typo3_console 'language:update', typo3_languages_to_translate

end

desc 'Remove not needed extensions'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace :cms do
namespace :cli do
task 'break_after_one_run' do |_, args|
capture_typo3_cli_in_path_in_loop release_path, 3, args.extra do |output|
capture_typo3_console_in_path_in_loop release_path, 3, args.extra do |output|
puts output
false
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace :cms do
namespace :cli do
task 'break_after_three_runs' do |_, args|
capture_typo3_cli_in_path_in_loop release_path, 3, args.extra do |output|
capture_typo3_console_in_path_in_loop release_path, 3, args.extra do |output|
puts output
true
end
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/capistrano/configuration/cli_test_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
namespace :cms do
namespace :cli do
task 'break_after_one_run' do |_, args|
capture_typo3_cli_in_loop 3, args.extra do |output|
capture_typo3_console_in_loop 3, args.extra do |output|
puts output
false
end
end

task 'break_after_three_runs' do |_, args|
capture_typo3_cli_in_loop 3, args.extra do |output|
capture_typo3_console_in_loop 3, args.extra do |output|
puts output
true
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
# 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)
typo3_console_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 :path_to_typo3_console, File.join('catalog', 'variable_injection_test.phpsh')

set :typo3_environment_cli, {
CUSTOM_VARIABLE: 1
Expand Down