Commit e43f0912 authored by Igor Wiedler's avatar Igor Wiedler

exclude Bundles from phar

parent d1520ad3
......@@ -33,7 +33,13 @@ class Compiler
$phar->startBuffering();
$finder = new Finder();
$finder->files()->name('*.php')->exclude('tests')->in(__DIR__.'/..');
$finder->
files()->
name('*.php')->
exclude('tests')->
exclude('Bundle')->
in(__DIR__.'/..');
foreach ($finder as $file) {
$path = str_replace(realpath(__DIR__.'/../..').'/', '', realpath($file));
$content = Kernel::stripComments(file_get_contents($file));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment