Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
chore: add node templates to synth.py (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwlui authored and JustinBeckwith committed Jul 31, 2018
1 parent 3079275 commit 807c350
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
logging.basicConfig(level=logging.DEBUG)

gapic = gcp.GAPICGenerator()
common_templates = gcp.CommonTemplates()

# tasks has two product names, and a poorly named artman yaml
for version in ['v1', 'v1beta2']:
Expand All @@ -17,6 +18,10 @@
library,
excludes=['package.json', 'README.md', 'src/index.js'])

templates = common_templates.node_library(package_name="@google-cloud/language")
s.copy(templates)


# Node.js specific cleanup
subprocess.run(['npm', 'ci'])
subprocess.run(['npm', 'run', 'prettier'])
Expand Down

0 comments on commit 807c350

Please sign in to comment.