-
Notifications
You must be signed in to change notification settings - Fork 8
/
BUILD.bazel
46 lines (43 loc) · 1.44 KB
/
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
43
44
45
46
load("@rules_haskell//haskell:defs.bzl", "haskell_library")
load("//third_party/haskell/hspec-discover:build_defs.bzl", "hspec_test")
load("//tools/project:build_defs.bzl", "project")
project(license = "hs-msgpack")
haskell_library(
name = "hs-msgpack-rpc-conduit",
srcs = glob(["src/**/*.*hs"]),
src_strip_prefix = "src",
tags = ["no-cross"],
version = "0.0.8",
visibility = ["//visibility:public"],
deps = [
"//hs-msgpack-binary",
"//hs-msgpack-types",
"//third_party/haskell:base",
"//third_party/haskell:binary",
"//third_party/haskell:binary-conduit",
"//third_party/haskell:bytestring",
"//third_party/haskell:conduit",
"//third_party/haskell:conduit-extra",
"//third_party/haskell:data-default-class",
"//third_party/haskell:exceptions",
"//third_party/haskell:monad-control",
"//third_party/haskell:monad-validate",
"//third_party/haskell:mtl",
"//third_party/haskell:network",
"//third_party/haskell:text",
"//third_party/haskell:unliftio-core",
],
)
hspec_test(
name = "testsuite",
size = "small",
deps = [
":hs-msgpack-rpc-conduit",
"//third_party/haskell:async",
"//third_party/haskell:base",
"//third_party/haskell:bytestring",
"//third_party/haskell:hspec",
"//third_party/haskell:mtl",
"//third_party/haskell:network",
],
)