Skip to content

Commit

Permalink
Do not generate libraries with synth (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwlui authored and JustinBeckwith committed Sep 21, 2018
1 parent 612be21 commit ebbaf5c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions synth.py
Expand Up @@ -26,11 +26,11 @@
templates = common_templates.node_library()
s.copy(templates, excludes=[".github/CONTRIBUTING.md"])

repository_url = "https://github.com/google/google-api-nodejs-client.git"
log.debug(f"Cloning {repository_url}.")
repository = git.clone(repository_url, depth=1)
log.debug("Installing dependencies.")
shell.run(["npm", "install"], cwd=repository)
log.debug("Generating all libraries...")
shell.run(["npm", "run", "generate"], cwd=repository)
s.copy(repository / "src")
# repository_url = "https://github.com/googleapis/google-api-nodejs-client.git"
# log.debug(f"Cloning {repository_url}.")
# repository = git.clone(repository_url, depth=1)
# log.debug("Installing dependencies.")
# shell.run(["npm", "install"], cwd=repository)
# log.debug("Generating all libraries...")
# shell.run(["npm", "run", "generate"], cwd=repository)
# s.copy(repository / "src")

0 comments on commit ebbaf5c

Please sign in to comment.