Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not generate libraries with synth #1350

Merged
merged 2 commits into from Sep 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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")