hscloud/BUILD
Serge Bazanski a03b60b310 go/workspace: implement EvalHscloudNix
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>
2023-06-19 22:23:52 +00:00

20 lines
498 B
Python

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