fix(core): distribute externs for testability API (#16179)

Workaround for #11119

PR Close #16179
This commit is contained in:
Alex Eagle
2017-04-19 19:28:21 -07:00
committed by Miško Hevery
parent bd033b69c1
commit 719c232321
4 changed files with 26 additions and 49 deletions

View File

@ -472,8 +472,9 @@ do
rsync -a ${OUT_DIR}/ ${NPM_DIR}
fi
echo "====== Copy ${PACKAGE} package.json files"
echo "====== Copy ${PACKAGE} package.json and .externs.js files"
rsync -am --include="package.json" --include="*/" --exclude=* ${SRC_DIR}/ ${NPM_DIR}/
rsync -am --include="*.externs.js" --include="*/" --exclude=* ${SRC_DIR}/ ${NPM_DIR}/
cp ${ROOT_DIR}/README.md ${NPM_DIR}/
fi