Skip to content

Commit

Permalink
Merge pull request #9 from pantheon-systems/phared_templates
Browse files Browse the repository at this point in the history
Include templates in the phar
  • Loading branch information
Josh Koenig committed Mar 26, 2014
2 parents 5106a84 + 846bae3 commit 9b23f5b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions utils/make-phar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );

Expand Down

0 comments on commit 9b23f5b

Please sign in to comment.