Skip to content

Commit

Permalink
chore: Migrate access-asset synth.py from artman to bazel (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
vam-google authored Apr 22, 2020
1 parent 3a3e256 commit dbc8da9
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions packages/google-cloud-asset/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,11 @@
# Generate asset GAPIC layer
# ----------------------------------------------------------------------------
for version in versions:
# v1p1beta1 is missing a BUILD.bazel file
# Don't use Artman once that is resolved
artman_gapic = gcp.GAPICGenerator()
if version == "v1p1beta1":
library = artman_gapic.py_library(
"asset",
version=version,
)
else:
library = gapic.py_library(
"asset",
version,
)
library = gapic.py_library(
service="asset",
version=version,
bazel_target=f"//google/cloud/asset/{version}:asset-{version}-py",
)

s.move(library, excludes=excludes)

Expand Down

0 comments on commit dbc8da9

Please sign in to comment.