blob: 59b38ea8c41b3a4002cc66e038d7911adac49ff1 [file] [log] [blame]
Philipp Schrader37fdbb62021-12-18 00:30:37 -08001load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
2
3go_library(
4 name = "buildkite_gerrit_trigger_lib",
5 srcs = ["buildkite_gerrit_trigger.go"],
6 importpath = "github.com/frc971/971-Robot-Code/tools/ci",
7 target_compatible_with = ["@platforms//cpu:x86_64"],
8 visibility = ["//visibility:private"],
Philipp Schraderd96d4cb2022-02-06 15:37:29 -08009 deps = ["@com_github_buildkite_go_buildkite//buildkite"],
Philipp Schrader37fdbb62021-12-18 00:30:37 -080010)
11
12go_binary(
13 name = "buildkite_gerrit_trigger",
14 embed = [":buildkite_gerrit_trigger_lib"],
15 target_compatible_with = ["@platforms//cpu:x86_64"],
16 visibility = ["//visibility:public"],
17)