blob: e89332d523179dca0755ff6996bbf67285be275a [file] [log] [blame]
Philipp Schraderc61f73b2022-02-23 23:58:37 -08001load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "db",
5 srcs = ["db.go"],
6 importpath = "github.com/frc971/971-Robot-Code/scouting/db",
7 target_compatible_with = ["@platforms//cpu:x86_64"],
8 visibility = ["//visibility:public"],
9 deps = ["@com_github_mattn_go_sqlite3//:go-sqlite3"],
10)
11
12go_test(
13 name = "db_test",
14 srcs = ["db_test.go"],
15 embed = [":db"],
16 target_compatible_with = ["@platforms//cpu:x86_64"],
17)