forked from github/semantic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
38 lines (34 loc) · 819 Bytes
/
BUILD.bazel
File metadata and controls
38 lines (34 loc) · 819 Bytes
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
package(default_visibility = ["//visibility:public"])
load(
"//:build/common.bzl",
"semantic_language_library",
"semantic_language_parsing_test",
)
load(
"@rules_haskell//haskell:defs.bzl",
"haskell_binary",
)
semantic_language_library(
name = "semantic-python",
srcs = glob(
include = ["src/**/*.hs"],
exclude = [
"src/Language/Python/Core.hs",
"src/Language/Python/Failure.hs",
"src/Language/Python/ScopeGraph.hs",
],
),
language = "python",
)
semantic_language_parsing_test(language = "python")
haskell_binary(
name = "bench",
srcs = glob(["bench/**/*.hs"]),
deps = [
":semantic-python",
"//:base",
"//:bytestring",
"//semantic-ast",
"@stackage//:gauge",
],
)