forked from hillu/go-yara
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBUILD.bazel
42 lines (40 loc) · 932 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"cbpool.go",
"cgo.go",
"compiler.go",
"error.go",
"main.go",
"object.go",
"rule.go",
"rules.go",
"rules_callback.go",
"scanner.go",
"stream.go",
"util.go",
"mem_blocks.go",
],
cdeps = [
"@com_github_virustotal_yara//:libyara",
],
cgo = True,
importpath = "github.com/VirusTotal/go-yara",
visibility = ["//visibility:public"],
)
go_test(
name = "go_default_test",
srcs = [
"cbpool_test.go",
"compiler_test.go",
"main_test.go",
"ported_test.go",
"rules_test.go",
"scanner_test.go",
"stress_test.go",
"mem_blocks_test.go",
],
data = glob(["testdata/**"]),
embed = [":go_default_library"],
)