aboutsummaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorJay Conrod <jayconrod@gmail.com>2018-05-23 17:32:17 -0400
committerGitHub <noreply@github.com>2018-05-23 17:32:17 -0400
commit0b731fe1dc34cca054349061d79b3359ccdf29af (patch)
tree6a64f91edf4ff8c63e939ca398362c9bc7802d54 /tests/integration
parent6ed1cd146058991b8d0691e232d9b537f7becf73 (diff)
downloadbazelbuild-rules_go-0b731fe1dc34cca054349061d79b3359ccdf29af.tar.gz
Format .bzl files with buildifier
Fixes #1458
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/popular_repos/popular_repos.bzl94
1 files changed, 47 insertions, 47 deletions
diff --git a/tests/integration/popular_repos/popular_repos.bzl b/tests/integration/popular_repos/popular_repos.bzl
index 0ac5ac11..ee91a9ba 100644
--- a/tests/integration/popular_repos/popular_repos.bzl
+++ b/tests/integration/popular_repos/popular_repos.bzl
@@ -19,52 +19,52 @@
load("@io_bazel_rules_go//go/private:go_repository.bzl", "go_repository")
def _maybe(repo_rule, name, **kwargs):
- if name not in native.existing_rules():
- repo_rule(name=name, **kwargs)
+ if name not in native.existing_rules():
+ repo_rule(name = name, **kwargs)
def popular_repos():
- _maybe(
- go_repository,
- name="org_golang_x_crypto",
- importpath="golang.org/x/crypto",
- strip_prefix="crypto-81e90905daefcd6fd217b62423c0908922eadb30",
- type="zip",
- urls=['https://codeload.github.com/golang/crypto/zip/81e90905daefcd6fd217b62423c0908922eadb30'],
- )
- _maybe(
- go_repository,
- name="org_golang_x_net",
- importpath="golang.org/x/net",
- commit="57efc9c3d9f91fb3277f8da1cff370539c4d3dc5",
- )
- _maybe(
- go_repository,
- name="org_golang_x_sys",
- importpath="golang.org/x/sys",
- commit="0b25a408a50076fbbcae6b7ac0ea5fbb0b085e79",
- )
- _maybe(
- go_repository,
- name="org_golang_x_text",
- importpath="golang.org/x/text",
- commit="a9a820217f98f7c8a207ec1e45a874e1fe12c478",
- )
- _maybe(
- go_repository,
- name="org_golang_x_tools",
- importpath="golang.org/x/tools",
- commit="663269851cdddc898f963782f74ea574bcd5c814",
- )
- _maybe(
- go_repository,
- name="org_golang_google_grpc",
- importpath="google.golang.org/grpc",
- commit="3f10311ccf076b6b7cba28273df3290d42e60982",
- build_file_proto_mode="disable",
- )
- _maybe(
- go_repository,
- name="com_github_mattn_go_sqlite3",
- importpath="github.com/mattn/go-sqlite3",
- commit="83772a7051f5e30d8e59746a9e43dfa706b72f3b",
- )
+ _maybe(
+ go_repository,
+ name = "org_golang_x_crypto",
+ importpath = "golang.org/x/crypto",
+ strip_prefix = "crypto-81e90905daefcd6fd217b62423c0908922eadb30",
+ type = "zip",
+ urls = ["https://codeload.github.com/golang/crypto/zip/81e90905daefcd6fd217b62423c0908922eadb30"],
+ )
+ _maybe(
+ go_repository,
+ name = "org_golang_x_net",
+ importpath = "golang.org/x/net",
+ commit = "57efc9c3d9f91fb3277f8da1cff370539c4d3dc5",
+ )
+ _maybe(
+ go_repository,
+ name = "org_golang_x_sys",
+ importpath = "golang.org/x/sys",
+ commit = "0b25a408a50076fbbcae6b7ac0ea5fbb0b085e79",
+ )
+ _maybe(
+ go_repository,
+ name = "org_golang_x_text",
+ importpath = "golang.org/x/text",
+ commit = "a9a820217f98f7c8a207ec1e45a874e1fe12c478",
+ )
+ _maybe(
+ go_repository,
+ name = "org_golang_x_tools",
+ importpath = "golang.org/x/tools",
+ commit = "663269851cdddc898f963782f74ea574bcd5c814",
+ )
+ _maybe(
+ go_repository,
+ name = "org_golang_google_grpc",
+ importpath = "google.golang.org/grpc",
+ commit = "3f10311ccf076b6b7cba28273df3290d42e60982",
+ build_file_proto_mode = "disable",
+ )
+ _maybe(
+ go_repository,
+ name = "com_github_mattn_go_sqlite3",
+ importpath = "github.com/mattn/go-sqlite3",
+ commit = "83772a7051f5e30d8e59746a9e43dfa706b72f3b",
+ )