-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathBUILD
42 lines (37 loc) · 939 Bytes
/
BUILD
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("@rules_go//go:def.bzl", "go_binary", "go_library")
load("@gazelle//:def.bzl", "gazelle")
# gazelle:prefix github.com/fizzbee-io/fizzbee
gazelle(name = "gazelle")
platform(
name = "linux_x86",
constraint_values = [
"@platforms//os:linux",
"@platforms//cpu:x86_64",
],
)
platform(
name = "linux_arm",
constraint_values = [
"@platforms//os:linux",
"@platforms//cpu:arm64",
],
)
go_library(
name = "fizzbee_lib",
srcs = ["main.go"],
data = ["//examples/ast"],
importpath = "github.com/fizzbee-io/fizzbee",
visibility = ["//visibility:private"],
deps = [
"//lib",
"//modelchecker",
"//proto:proto_go_proto",
"@org_golang_google_protobuf//encoding/protojson",
"@org_golang_google_protobuf//proto",
],
)
go_binary(
name = "fizzbee",
embed = [":fizzbee_lib"],
visibility = ["//visibility:public"],
)