Skip to content

Commit

Permalink
Merge pull request #369 from apple-x-co/compile-memory
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym authored Jun 14, 2021
2 parents e7370f2 + e840985 commit 9b7e918
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion bin/bear.compile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ use BEAR\AppMeta\Meta;
use BEAR\Package\Unlink;

init:
ini_set('memory_limit', '-1');
if ($argc !== 4) {
echo 'usage: bear.compile <MyVendor\MyProject> <prod-app> <app_dir>' . PHP_EOL;
exit(1);
Expand Down
1 change: 1 addition & 0 deletions bin/bear.compile.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use BEAR\Package\Compiler;

init:
ini_set('memory_limit', '-1');
$opt = getopt('n:c:d:o');
[$appName, $context, $appDir] = [$opt['n'], $opt['c'], $opt['d']];
require realpath($appDir) . '/vendor/autoload.php';
Expand Down

0 comments on commit 9b7e918

Please sign in to comment.