1
0
Fork 0
composer/bin/update-spdx-licenses

11 lines
278 B
PHP
Executable File

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