mirror of
https://github.com/github/semantic.git
synced 2024-11-29 21:52:59 +03:00
30 lines
739 B
Python
30 lines
739 B
Python
# Set all target’s visibility in this package to "public".
|
||
package(default_visibility = ["//visibility:public"])
|
||
|
||
# Load rules_haskell rules.
|
||
load(
|
||
"@rules_haskell//haskell:defs.bzl",
|
||
"haskell_toolchain_library",
|
||
)
|
||
load(
|
||
"//:build/common.bzl",
|
||
"semantic_language_library",
|
||
)
|
||
|
||
# haskell_toolchain_library can access builtin GHC packages
|
||
# and assign them a bazel target name, so that they
|
||
# can be referenced as dependencies.
|
||
haskell_toolchain_library(name = "base")
|
||
|
||
semantic_language_library(
|
||
name = "lib",
|
||
srcs = glob(
|
||
include = ["src/**/*.hs"],
|
||
exclude = [
|
||
"src/Language/Python/Core.hs",
|
||
"src/Language/Python/ScopeGraph.hs",
|
||
],
|
||
),
|
||
language = "python",
|
||
)
|