File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ public function compile($pharFile = 'docs.phar')
62
62
->notName ('Compiler.php ' )
63
63
->in (__DIR__ .'/.. ' )
64
64
;
65
-
66
65
foreach ($ finder as $ file ) {
67
66
$ this ->addFile ($ phar , $ file );
68
67
}
@@ -85,6 +84,18 @@ public function compile($pharFile = 'docs.phar')
85
84
$ this ->addFile ($ phar , $ file );
86
85
}
87
86
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
+ }
88
99
89
100
$ this ->addFile ($ phar , new \SplFileInfo (__DIR__ .'/../../vendor/autoload.php ' ));
90
101
$ this ->addFile ($ phar , new \SplFileInfo (__DIR__ .'/../../vendor/composer/autoload_namespaces.php ' ));
You can’t perform that action at this time.
0 commit comments