mirror of
https://github.com/google/blockly.git
synced 2026-01-15 21:07:14 +01:00
Turns out they don't have any, so this commit just classifies their gulp targets according to the established scheme.
23 lines
487 B
JavaScript
23 lines
487 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2018 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Gulp tasks to check the licenses of Blockly dependencies.
|
|
*/
|
|
|
|
const jsgl = require('js-green-licenses');
|
|
|
|
function checkLicenses() {
|
|
const checker = new jsgl.LicenseChecker();
|
|
checker.setDefaultHandlers();
|
|
return checker.checkLocalDirectory('.');
|
|
};
|
|
|
|
module.exports = {
|
|
// Manually-invokable targets, with prequisites where required.
|
|
checkLicenses: checkLicenses
|
|
};
|