mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
There are small typos in: - closure/goog/base.js - demos/minimap/minimap.js - gulpfile.js - scripts/gulpfiles/build_tasks.js - scripts/gulpfiles/cleanup_tasks.js - scripts/gulpfiles/license_tasks.js Fixes: - Should read `prerequisites` rather than `prequisites`. - Should read `satisfies` rather than `satisifies`. - Should read `regenerates` rather than `regenrates`. - Should read `minimap` rather than `mimimap`. - Should read `diagnostic` rather than `disagnostic`. Signed-off-by: Tim Gates <tim.gates@iress.com>
23 lines
489 B
JavaScript
23 lines
489 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 prerequisites where required.
|
|
checkLicenses: checkLicenses
|
|
};
|