File: BUILD.bazel

package info (click to toggle)
mtail 3.2.24-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,384 kB
  • sloc: yacc: 647; makefile: 226; sh: 78; lisp: 77; awk: 17
file content (24 lines) | stat: -rw-r--r-- 501 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
load("@rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "code",
    srcs = [
        "instr.go",
        "object.go",
        "opcodes.go",
    ],
    importpath = "github.com/jaqx0r/mtail/internal/runtime/code",
    visibility = ["//:__subpackages__"],
    deps = ["//internal/metrics"],
)

go_test(
    name = "code_test",
    size = "small",
    srcs = [
        "instr_test.go",
        "opcodes_test.go",
    ],
    embed = [":code"],
    deps = ["//internal/testutil"],
)