Skip to content

Commit

Permalink
Fix phar builder
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Aug 20, 2023
1 parent 882afe2 commit d63edc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/makephar.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@unlink($argv[2]);

$p = new Phar(__DIR__.'/../'.$argv[2], 0, $argv[2]);
$p->buildFromDirectory(realpath($argv[1]), '/^((?!tests).)*(\.php|\.py|\.exe|\.tl|\.json|\.dat|\.h)$/i');
$p->buildFromDirectory(realpath($argv[1]), '/^((?!tests).)*(\.php|\.py|\.exe|\.tl|\.json|\.dat|\.h|\.wav)$/i');

$p->setStub('<?php
Expand Down

0 comments on commit d63edc0

Please sign in to comment.