Permalink
Browse files

Update compiler, fixes #386

  • Loading branch information...
1 parent 82dd1c1 commit 5c320238ae5a1d232ce8fd42b816ee9d9ffd388e @Seldaek Seldaek committed Mar 5, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/Composer/Compiler.php
@@ -56,18 +56,24 @@ public function compile($pharFile = 'composer.phar')
->ignoreVCS(true)
->name('*.php')
->notName('Compiler.php')
+ ->notName('ClassLoader.php')
->in(__DIR__.'/..')
;
foreach ($finder as $file) {
$this->addFile($phar, $file);
}
+ $this->addFile($phar, new \SplFileInfo(__DIR__.'/Autoload/ClassLoader.php'), false);
+ $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../res/composer-schema.json'), false);
+ $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../res/composer-schema-lax.json'), false);
$finder = new Finder();
$finder->files()
->ignoreVCS(true)
->name('*.php')
->in(__DIR__.'/../../vendor/symfony/')
+ ->in(__DIR__.'/../../vendor/seld/jsonlint/src/')
+ ->in(__DIR__.'/../../vendor/justinrainbow/json-schema/src/')
;
foreach ($finder as $file) {

0 comments on commit 5c32023

Please sign in to comment.