Skip to content

Commit

Permalink
Show pie instructions for ext packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Mar 21, 2024
1 parent 88d1c08 commit 687a336
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Entity/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,10 @@ public function getType(): string|null

public function getInstallCommand(Version $version = null): string
{
if (in_array($this->getType(), ['php-ext', 'php-ext-zend'], true)) {
return 'pie install '.$this->getName();
}

$command = 'create-project';

if ('project' !== $this->getType()) {
Expand Down

0 comments on commit 687a336

Please sign in to comment.