mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-18 14:25:35 +08:00
feat(manifest): implement BuildManifestDumper for generating build manifest
This commit is contained in:
@@ -117,6 +117,19 @@ class TargetPackage extends LibraryPackage
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get target-specific structured data for the build manifest.
|
||||
*
|
||||
* Target implementations may override this method to expose build facts that
|
||||
* cannot be represented by the generic resolved package list.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function getBuildManifestData(PackageInstaller $installer): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets all build options for the target package.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user