1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Creates 'lib' for the 'dist' build target.

This commit is contained in:
Yury Delendik 2017-03-01 11:11:39 -06:00
parent e7cc07cc11
commit 39e8ad24f7
4 changed files with 44 additions and 3 deletions

View file

@ -42,6 +42,7 @@ var ROOT_DIR = __dirname + '/', // absolute path to project's root
DIST_DIR = BUILD_DIR + 'dist/',
SINGLE_FILE_DIR = BUILD_DIR + 'singlefile/',
COMPONENTS_DIR = BUILD_DIR + 'components/',
LIB_DIR = BUILD_DIR + 'lib/',
REPO = 'git@github.com:mozilla/pdf.js.git';
function getCurrentVersion() {
@ -186,6 +187,8 @@ target.dist = function() {
COMPONENTS_DIR + '*',
], DIST_DIR + 'web/');
cp('-R', LIB_DIR, DIST_DIR + 'lib/');
echo();
echo('### Rebuilding manifests');