1
1
mirror of https://github.com/github/semantic.git synced 2024-11-26 09:07:39 +03:00
semantic/semantic-python/BUILD.bazel
2020-07-01 02:17:39 -04:00

38 lines
773 B
Python

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/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",
],
)