forked from whs/go-aqaramqtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
37 lines (33 loc) · 899 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
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:prefix github.com/whs/go-aqaramqtt
gazelle(name = "gazelle")
go_library(
name = "go_default_library",
srcs = [
"aqaramqtt.go",
"main.go",
],
importpath = "github.com/whs/go-aqaramqtt",
visibility = ["//visibility:private"],
deps = [
"//aqara:go_default_library",
"@com_github_eclipse_paho_mqtt_golang//:go_default_library",
"@in_gopkg_alecthomas_kingpin_v2//:go_default_library",
],
)
go_binary(
name = "go-aqaramqtt",
embed = [":go_default_library"],
msan = "auto",
race = "on",
visibility = ["//visibility:public"],
)
go_binary(
name = "rpi",
embed = [":go_default_library"],
visibility = ["//visibility:public"],
goos = "linux",
goarch = "arm",
pure = "on",
)