Skip to content

Commit

Permalink
CLI command for repacking extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
kasimi committed Sep 22, 2017
1 parent 08c1d1d commit 46f9a35
Show file tree
Hide file tree
Showing 4 changed files with 437 additions and 1 deletion.
16 changes: 16 additions & 0 deletions config/console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,19 @@ services:
- '@phpbb.titania.manage.tool.composer.rebuild_repo'
tags:
- { name: console.command }

phpbb.titania.console.command.extension.repack:
class: phpbb\titania\console\command\extension\repack
arguments:
- '@user'
- '@language'
- '@config'
- '@template'
- '@dbal.conn'
- '@router'
- '%core.root_path%'
- '%core.php_ext%'
calls:
- [set_titania_dependencies, ['@phpbb.titania.config', '@phpbb.titania.extension.type', '@phpbb.titania.attachment.operator']]
tags:
- { name: console.command }
Loading

0 comments on commit 46f9a35

Please sign in to comment.