mirror of
https://github.com/github/semantic.git
synced 2024-11-23 16:37:50 +03:00
24 lines
588 B
Python
24 lines
588 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(["src/**/*.hs"]),
|
||
language = "php",
|
||
)
|