blob: cbc47891b7dae4d13af9b7b877ddb439d581c374 [file] [log] [blame]
# Gazelle settings
load("@bazel_gazelle//:def.bzl", "gazelle")
# Used by //go/workspace tests.
exports_files([
"WORKSPACE",
"default.nix",
])
# gazelle:prefix code.hackerspace.pl/hscloud
# gazelle:go_naming_convention import
# gazelle:exclude **/gomod-generated-placeholder.go
gazelle(name = "gazelle")
gazelle(
name = "gazelle-update-repos",
args = [
"-from_file=go.mod",
"-to_macro=third_party/go/repositories.bzl%go_repositories",
"-prune",
],
command = "update-repos",
)
config_setting(
name = "linux",
constraint_values = ["@bazel_tools//platforms:linux"],
visibility = ["//visibility:public"],
)
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
buildifier(
name = "buildifier",
)