Skip to content

Commit 62113bf

Browse files
committed
adding missing phar files
1 parent 14bb5d1 commit 62113bf

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/Phar/Compiler.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ public function compile($pharFile = 'docs.phar')
6262
->notName('Compiler.php')
6363
->in(__DIR__.'/..')
6464
;
65-
6665
foreach ($finder as $file) {
6766
$this->addFile($phar, $file);
6867
}
@@ -85,6 +84,18 @@ public function compile($pharFile = 'docs.phar')
8584
$this->addFile($phar, $file);
8685
}
8786

87+
$finder = new Finder();
88+
$finder->files()
89+
->ignoreVCS(true)
90+
->in([
91+
__DIR__.'/../Templates',
92+
__DIR__.'/../../vendor/doctrine/rst-parser/lib/Templates',
93+
__DIR__.'/../../vendor/scrivo/highlight.php/Highlight/languages',
94+
])
95+
;
96+
foreach ($finder as $file) {
97+
$this->addFile($phar, $file);
98+
}
8899

89100
$this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/autoload.php'));
90101
$this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/composer/autoload_namespaces.php'));

0 commit comments

Comments
 (0)