diff --git a/owlbot.py b/owlbot.py index fb1d27ec4..dc5c71a42 100644 --- a/owlbot.py +++ b/owlbot.py @@ -8,6 +8,7 @@ from synthtool import _tracked_paths import shutil from synthtool import shell +from synthtool.log import logger logging.basicConfig(level=logging.DEBUG) @@ -190,7 +191,8 @@ os.chdir("../../") # Copy types into types/ - # These files were generated by node.compile_protos_hermetic() above. + logger.debug("Running compile...") + shell.run(["npm", "run", "compile"], hide_output=True) s.copy("build/src/v1/firestore*.d.ts", "types/v1") s.copy("build/src/v1beta1/firestore_client.d.ts", "types/v1beta1") s.copy("build/protos/firestore*.d.ts", "types/protos")