blob: b4dbdc00b3685b7f66e3230d1f21367c3ff39fdd [file] [log] [blame]
Philipp Schrader69082a02022-01-22 16:49:38 -08001load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "go_greeter",
5 srcs = ["greeter.go"],
6 importpath = "github.com/frc971/971-Robot-Code/build_tests/go_greeter",
7 target_compatible_with = ["@platforms//cpu:x86_64"],
8 visibility = ["//visibility:public"],
9)
10
11go_test(
12 name = "go_greeter_test",
13 srcs = ["greeter_test.go"],
14 embed = [":go_greeter"],
15 target_compatible_with = ["@platforms//cpu:x86_64"],
16)