Skip to content

Commit

Permalink
doc: document how to run samples using Bazel (googleapis/google-cloud…
Browse files Browse the repository at this point in the history
…-cpp-spanner#1228)

Update the README.md generate to include instructions to build the
and run the examples using Bazel.
  • Loading branch information
coryan authored Jan 31, 2020
1 parent 9d2879e commit f4b35da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/cloud/spanner/samples/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ load(":spanner_client_integration_samples.bzl", "spanner_client_integration_samp
load(":spanner_client_unit_samples.bzl", "spanner_client_unit_samples")

[cc_test(
name = "spanner_client_" + test.replace("/", "_").replace(".cc", ""),
name = test.replace("/", "_").replace(".cc", ""),
timeout = "long",
srcs = [test],
tags = ["integration-tests"],
Expand All @@ -36,7 +36,7 @@ load(":spanner_client_unit_samples.bzl", "spanner_client_unit_samples")
) for test in spanner_client_integration_samples]

[cc_test(
name = "spanner_client_" + test.replace("/", "_").replace(".cc", ""),
name = test.replace("/", "_").replace(".cc", ""),
srcs = [test],
deps = [
"//google/cloud/spanner:spanner_client",
Expand Down

0 comments on commit f4b35da

Please sign in to comment.