Skip to content
Browse files

Fixed Compiler for new composers directory structure

  • Loading branch information...
1 parent fe1101e commit 90b15a7d03d0a8b322e3ed59d7d00cf0c1dceff0 @wjzijderveld committed May 27, 2012
Showing with 7 additions and 4 deletions.
  1. +7 −4 src/Cilex/Compiler.php
View
11 src/Cilex/Compiler.php
@@ -64,11 +64,14 @@ public function compile($pharFile = 'cilex.phar')
}
$this->addFile($phar, new \SplFileInfo(__DIR__.'/../../LICENSE'), false);
+
$this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/.composer/autoload.php'));
- $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/.composer/ClassLoader.php'));
- $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/.composer/autoload_namespaces.php'));
- $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/.composer/autoload_classmap.php'));
-
+
+ $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/autoload.php'));
+ $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/composer/ClassLoader.php'));
+ $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/composer/autoload_namespaces.php'));
+ $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/composer/autoload_classmap.php'));
+
// Stubs
$phar->setStub($this->getStub());

0 comments on commit 90b15a7

Please sign in to comment.
Something went wrong with that request. Please try again.