| 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"], |
| ) |