Skip to content

Commit

Permalink
Include completion file for bash completion generation, refs #10320
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Jun 1, 2022
1 parent e2645a1 commit 6f0ac07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Composer/Compiler.php
Expand Up @@ -120,7 +120,6 @@ public function compile(string $pharFile = 'composer.phar'): void
->ignoreVCS(true)
->notPath('/\/(composer\.(json|lock)|[A-Z]+\.md|\.gitignore|appveyor.yml|phpunit\.xml\.dist|phpstan\.neon\.dist|phpstan-config\.neon|phpstan-baseline\.neon)$/')
->notPath('/bin\/(jsonlint|validate-json|simple-phpunit|phpstan|phpstan\.phar)(\.bat)?$/')
->notPath('symfony/console/Resources/completion.bash')
->notPath('justinrainbow/json-schema/demo/')
->notPath('justinrainbow/json-schema/dist/')
->notPath('composer/installed.json')
Expand All @@ -138,6 +137,7 @@ public function compile(string $pharFile = 'composer.phar'): void
__DIR__ . '/../../vendor/composer/spdx-licenses/res/spdx-licenses.json',
CaBundle::getBundledCaBundlePath(),
__DIR__ . '/../../vendor/symfony/console/Resources/bin/hiddeninput.exe',
__DIR__ . '/../../vendor/symfony/console/Resources/completion.bash',
) as $file) {
$extraFiles[$file] = realpath($file);
if (!file_exists($file)) {
Expand Down

0 comments on commit 6f0ac07

Please sign in to comment.