This repository was archived by the owner on Jun 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
69 lines (63 loc) · 1.72 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "nogo")
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@rules_pkg//:pkg.bzl", "pkg_tar")
pkg_tar(
name = "package",
srcs = ["//cmd/bmx"],
mode = "0755",
package_dir = "/",
)
# gazelle:prefix github.com/rtkwlf/bmx
gazelle(name = "gazelle")
gazelle(
name = "gazelle-update-repos",
args = [
"-from_file=go.mod",
"-to_macro=bazel/go/deps.bzl%go_dependencies",
"-prune",
],
command = "update-repos",
)
go_library(
name = "go_default_library",
srcs = [
"console.go",
"credential-process.go",
"login.go",
"print.go",
"print_unix.go",
"print_windows.go",
"write.go",
],
importpath = "github.com/rtkwlf/bmx",
visibility = ["//visibility:public"],
deps = [
"//console:go_default_library",
"//saml/identityProviders:go_default_library",
"//saml/identityProviders/okta:go_default_library",
"//saml/serviceProviders:go_default_library",
"//saml/serviceProviders/aws:go_default_library",
"@com_github_aws_aws_sdk_go//service/sts:go_default_library",
"@in_gopkg_ini_v1//:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = [
"console_test.go",
"print_test.go",
],
deps = [
":go_default_library",
"//mocks:go_default_library",
"//saml/identityProviders/okta:go_default_library",
"//saml/serviceProviders/aws/mocks:go_default_library",
"@com_github_aws_aws_sdk_go//service/sts:go_default_library",
],
)
nogo(
name = "nogo",
config = "nogo_config.json",
vet = True,
visibility = ["//visibility:public"],
)