浏览代码

Merge pull request #523 from stof/patch-1

Removed the Symfony2 tests from the phar archive
Jordi Boggiano 13 年之前
父节点
当前提交
245a7ca845
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Composer/Compiler.php

+ 1 - 0
src/Composer/Compiler.php

@@ -71,6 +71,7 @@ class Compiler
         $finder->files()
         $finder->files()
             ->ignoreVCS(true)
             ->ignoreVCS(true)
             ->name('*.php')
             ->name('*.php')
+            ->exclude('Tests')
             ->in(__DIR__.'/../../vendor/symfony/')
             ->in(__DIR__.'/../../vendor/symfony/')
             ->in(__DIR__.'/../../vendor/seld/jsonlint/src/')
             ->in(__DIR__.'/../../vendor/seld/jsonlint/src/')
             ->in(__DIR__.'/../../vendor/justinrainbow/json-schema/src/')
             ->in(__DIR__.'/../../vendor/justinrainbow/json-schema/src/')