1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 09:38:06 +02:00

UMD validation and generation tools.

This commit is contained in:
Yury Delendik 2015-11-23 10:58:14 -06:00
parent 6b60c8f4db
commit 450edc95cc
3 changed files with 546 additions and 0 deletions

View file

@ -1497,6 +1497,13 @@ target.lint = function() {
exit(1);
}
echo();
echo('### Checking UMD dependencies');
var umd = require('./external/umdutils/verifier.js');
if (!umd.validateFiles({'pdfjs': './src'})) {
exit(1);
}
echo('files checked, no errors found');
};