Philipp Schrader | b15f4bd | 2023-03-25 14:21:38 -0700 | [diff] [blame^] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") |
Philipp Schrader | a9a7939 | 2023-03-25 13:28:31 -0700 | [diff] [blame] | 2 | |
| 3 | go_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 Schrader | b15f4bd | 2023-03-25 14:21:38 -0700 | [diff] [blame^] | 10 | |
| 11 | go_test( |
| 12 | name = "background_task_test", |
| 13 | srcs = ["background_task_test.go"], |
| 14 | embed = [":background_task"], |
| 15 | ) |