From 00c58bb245274b5412054c987af8cf10d454ddba Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Thu, 17 Jun 2021 17:11:30 +0200 Subject: [PATCH] :bulb: updateLicenses.php : copy phpdoc from develop branch --- .make/license/updateLicenses.php | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.make/license/updateLicenses.php b/.make/license/updateLicenses.php index b2ef0b631..706378247 100644 --- a/.make/license/updateLicenses.php +++ b/.make/license/updateLicenses.php @@ -1,7 +1,26 @@ C:\Dev\wamp64\www\itop-dev\.make\license/../..//lib/symfony/console` + * + * Licenses sources : + * * `composer licenses --format json` (see https://getcomposer.org/doc/03-cli.md#licenses) + * * keep every existing nodes with `/licenses/license[11]/product/@scope` not in ['lib', 'datamodels'] + * ⚠ If licenses were added manually, they might be removed by this tool ! Be very careful to check for the result before pushing ! + * + * To launch, check requirements and run `php updateLicenses.php` + * The target license file path is in `$xmlFilePath` */ $iTopFolder = __DIR__ . "/../../" ;