blob: bdf7190aeba71c9d2371284bc3539708338bfbca [file] [log] [blame]
Philipp Schraderb15f4bd2023-03-25 14:21:38 -07001load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
Philipp Schradera9a79392023-03-25 13:28:31 -07002
3go_library(
4 name = "background_task",
5 srcs = ["background_task.go"],
6 importpath = "github.com/frc971/971-Robot-Code/scouting/background_task",
7 target_compatible_with = ["@platforms//cpu:x86_64"],
8 visibility = ["//visibility:public"],
9)
Philipp Schraderb15f4bd2023-03-25 14:21:38 -070010
11go_test(
12 name = "background_task_test",
13 srcs = ["background_task_test.go"],
14 embed = [":background_task"],
15)