mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 16:55:38 +08:00
Add php and lib-base as special libraries to add dependencies to the root node (#618)
* Remove E_STRICT * Add lib-base and php as special libs * Remove debug code * Fix phpunit with new config structure * Fix phpunit test and fix license dumper bug for new type of lib * Add missing lib type filter for windows builder
This commit is contained in:
@@ -70,6 +70,9 @@ class LicenseDumper
|
||||
}
|
||||
|
||||
foreach ($this->libs as $lib) {
|
||||
if (Config::getLib($lib, 'type', 'lib') !== 'lib') {
|
||||
continue;
|
||||
}
|
||||
$source_name = Config::getLib($lib, 'source');
|
||||
foreach ($this->getSourceLicenses($source_name) as $index => $license) {
|
||||
$result = file_put_contents("{$target_dir}/lib_{$lib}_{$index}.txt", $license);
|
||||
|
||||
Reference in New Issue
Block a user