forked from GoogleCloudPlatform/docker-credential-gcr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
35 lines (30 loc) · 918 Bytes
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
gazelle(
name = "gazelle",
command = "fix",
external = "vendored",
extra_args = [
"-build_file_name",
"BUILD,BUILD.bazel", # Prioritize `BUILD` for newly added files.
],
prefix = "github.com/GoogleCloudPlatform/docker-credential-gcr/v2",
)
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "github.com/GoogleCloudPlatform/docker-credential-gcr/v2",
visibility = ["//visibility:private"],
deps = [
"//cli:go_default_library",
"//vendor/github.com/google/subcommands:go_default_library",
],
)
go_binary(
name = "docker-credential-gcr",
embed = [":go_default_library"],
pure = "on",
visibility = ["//visibility:public"],
)