Files
mixio/blockly/scripts/gulpfiles/license_tasks.js
Eason010212 5d80728be9 mixio 1.10.0
2023-03-10 18:03:02 +08:00

22 lines
421 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 = {
checkLicenses: checkLicenses
};