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:
parent
e7cc07cc11
commit
39e8ad24f7
4 changed files with 44 additions and 3 deletions
3
make.js
3
make.js
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue