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