Add HostedPackageBin downloader and enhance artifact handling

This commit is contained in:
crazywhalecc
2025-12-05 14:39:05 +08:00
committed by Jerry Ma
parent 52553fb5ed
commit 7fa6fd08d4
6 changed files with 111 additions and 14 deletions

View File

@@ -33,7 +33,7 @@ class SPCConfigCommand extends BaseCommand
{
// transform string to array
$libraries = parse_comma_list($this->getOption('with-libs'));
$libraries = array_merge($libraries, $this->getOption('with-packages'));
$libraries = array_merge($libraries, parse_comma_list($this->getOption('with-packages')));
// transform string to array
$extensions = $this->getArgument('extensions') ? parse_extension_list($this->getArgument('extensions')) : [];
$include_suggests = $this->getOption('with-suggests') ?: $this->getOption('with-suggested-libs') || $this->getOption('with-suggested-exts');