mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 23:35:40 +08:00
Refactor extension configuration and improve Windows build support
This commit is contained in:
@@ -34,6 +34,7 @@ class ConfigValidator
|
||||
'build-with-php' => ConfigType::BOOL,
|
||||
'notes' => ConfigType::BOOL,
|
||||
'display-name' => ConfigType::STRING,
|
||||
'os' => ConfigType::LIST_ARRAY,
|
||||
|
||||
// library and target fields
|
||||
'headers' => ConfigType::LIST_ARRAY, // @
|
||||
@@ -88,6 +89,7 @@ class ConfigValidator
|
||||
'build-with-php' => false,
|
||||
'notes' => false,
|
||||
'display-name' => false,
|
||||
'os' => false,
|
||||
];
|
||||
|
||||
public const array ARTIFACT_TYPE_FIELDS = [ // [required_fields, optional_fields]
|
||||
|
||||
Reference in New Issue
Block a user