forked from github/semantic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
42 lines (40 loc) · 1.03 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
package(default_visibility = ["//visibility:public"])
load(
"@rules_haskell//haskell:defs.bzl",
"haskell_binary",
"haskell_library",
)
load(
"@rules_haskell//haskell:cabal.bzl",
"haskell_cabal_binary",
"haskell_cabal_library",
)
load(
"//:build/common.bzl",
"GHC_FLAGS",
)
haskell_library(
name = "semantic-analysis",
srcs = glob(["src/**/*.hs"]),
compiler_flags = GHC_FLAGS + ["-XOverloadedStrings"],
deps = [
"//:base",
"//:containers",
"//:filepath",
"//:text",
"//:transformers",
"//semantic-source",
"@stackage//:aeson",
"@stackage//:algebraic-graphs",
"@stackage//:fused-effects",
"@stackage//:fused-effects-readline",
"@stackage//:fused-syntax",
"@stackage//:hashable",
"@stackage//:haskeline",
"@stackage//:pathtype",
"@stackage//:prettyprinter",
"@stackage//:prettyprinter-ansi-terminal",
"@stackage//:semilattices",
"@stackage//:terminal-size",
],
)