diff --git a/utils/make-phar.php b/utils/make-phar.php index 0014e18a5..cd3490718 100644 --- a/utils/make-phar.php +++ b/utils/make-phar.php @@ -50,6 +50,19 @@ function add_file( $phar, $path ) { add_file( $phar, $file ); } +// Non-PHP Files +$finder = new Finder(); +$finder + ->files() + ->ignoreVCS(true) + ->ignoreDotFiles(false) + ->in('./templates') + ; + +foreach ( $finder as $file ) { + add_file( $phar, $file ); +} + add_file( $phar, './vendor/autoload.php' ); add_file( $phar, './vendor/rmccue/requests/library/Requests/Transport/cacert.pem' );