Skip to content

Commit 1d237a1

Browse files
PeteBishwhipPete Bishop
andauthored
Ensure php-bin is removed from built app (#175)
Fixes NativePHP/laravel#503 - Ensure php-bin is removed after composer has run - Resolves notarisation issues with apple - Reduces app size Co-authored-by: Pete Bishop <[email protected]>
1 parent eac69c2 commit 1d237a1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Traits/PrunesVendorDirectory.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ protected function pruneVendorDirectory()
2121
});
2222

2323
$filesystem = new Filesystem;
24-
$filesystem->remove($this->buildPath('/vendor/bin'));
24+
$filesystem->remove([
25+
$this->buildPath('/vendor/bin'),
26+
$this->buildPath('/vendor/nativephp/php-bin'),
27+
]);
2528
}
2629
}

0 commit comments

Comments
 (0)