mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 19:45:01 +01:00
Fix phar builder
This commit is contained in:
parent
882afe2527
commit
d63edc0458
@ -19,7 +19,7 @@ if (!isset($argv[3])) {
|
||||
@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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user