forked from monogon-dev/monogon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
40 lines (33 loc) · 1.01 KB
/
BUILD.bazel
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
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@bazeldnf//:def.bzl", "bazeldnf")
# gazelle:prefix source.monogon.dev
# gazelle:go_naming_convention import
# gazelle:exclude **/gomod-generated-placeholder.go
# gazelle:exclude .bazeldnf/**
gazelle(name = "gazelle")
# Shortcut for the Go SDK
alias(
name = "go",
actual = "@io_bazel_rules_go//go",
visibility = ["//visibility:public"],
)
# bazeldnf binary
bazeldnf(name = "bazeldnf")
# Shortcuts for top-level binaries/tools
# Shortcut for kubectl when running through bazel run
# (don't depend on this, it might turn into an env-based PATH shortcut, use
# @io_k8s_kubernetes//cmd/kubectl instead)
alias(
name = "kubectl",
actual = "@io_k8s_kubernetes//cmd/kubectl:kubectl",
)
# Shortcut for the Delve debugger for interactive debugging
alias(
name = "dlv",
actual = "@com_github_go_delve_delve//cmd/dlv:dlv",
)
alias(
name = "goimports",
actual = "@org_golang_x_tools//cmd/goimports:goimports",
visibility = ["//visibility:public"],
)