update-spdx-licenses 278 B

12345678910
  1. #!/usr/bin/env php
  2. <?php
  3. require __DIR__ . '/../src/bootstrap.php';
  4. use Composer\Util\SpdxLicensesUpdater;
  5. $updater = new SpdxLicensesUpdater;
  6. $updater->dumpLicenses(__DIR__ . '/../res/spdx-licenses.json');
  7. $updater->dumpExceptions(__DIR__ . '/../res/spdx-exceptions.json');