mirror of
https://gerrit.hackerspace.pl/hscloud
synced 2025-02-16 09:46:45 +00:00
This allows us to access hscloud nix 'facts' from Go. Change-Id: Ic8fc3350a7d073947c44529fcae0bbb8627421aa Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1508 Reviewed-by: q3k <q3k@hackerspace.pl>
20 lines
498 B
Text
20 lines
498 B
Text
# 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 go_default_library
|
|
gazelle(
|
|
name = "gazelle",
|
|
args = [
|
|
"-to_macro=third_party/go/repositories.bzl%go_repositories",
|
|
],
|
|
)
|
|
|
|
config_setting(
|
|
name = "linux",
|
|
constraint_values = ["@bazel_tools//platforms:linux"],
|
|
visibility = ["//visibility:public"],
|
|
)
|