Skip to content

Commit

Permalink
Fixes for phpup
Browse files Browse the repository at this point in the history
  • Loading branch information
pronskiy committed Jun 9, 2024
1 parent 0ab67dd commit 7a95578
Show file tree
Hide file tree
Showing 5 changed files with 166 additions and 168 deletions.
5 changes: 3 additions & 2 deletions app/Commands/RunCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function handle()

/**
* Install package globally.
*
*
* If the packages `keywords` property contains `dev`, `testing`, or `static analysis`,
* then add on `--dev` to the composer command. Save this to a variable for use in cleanup.
*/
Expand Down Expand Up @@ -133,7 +133,8 @@ protected function getBinaryName(array $latest_package_data): string
{
$this->info('checking package for binary...');
$binary = $latest_package_data['bin'][0];
$bin = explode('/', $binary)[1];
// $bin = explode('/', $binary)[1];
$bin = $binary;

return $bin;
}
Expand Down
7 changes: 1 addition & 6 deletions box.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,5 @@
"files": [
"composer.json"
],
"exclude-composer-files": false,
"compression": "GZ",
"compactors": [
"KevinGH\\Box\\Compactor\\Php",
"KevinGH\\Box\\Compactor\\Json"
]
"exclude-composer-files": false
}
Binary file removed builds/conductor
Binary file not shown.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@
},
"minimum-stability": "stable",
"prefer-stable": true,
"bin": ["builds/conductor"]
"bin": ["./conductor"]
}
Loading

0 comments on commit 7a95578

Please sign in to comment.