Skip to content

Commit

Permalink
chore: add node templates to synth.py (googleapis#139)
Browse files Browse the repository at this point in the history
* chore: add node templates to synth.py

* fix: bad automation

* fix: bad automation

* fix: bad automation

* fix: bad automation
  • Loading branch information
jkwlui committed Jul 26, 2018
1 parent 9f777d7 commit eb9184c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,19 @@
logging.basicConfig(level=logging.DEBUG)

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


versions = ['v1', 'v1p1beta1', 'v1p2beta1', 'v1p3beta1']

for version in versions:
library = gapic.node_library('vision', version)
s.copy(library, excludes=['src/index.js', 'README.md', 'package.json'])

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


'''
Node.js specific cleanup
'''
Expand Down

0 comments on commit eb9184c

Please sign in to comment.