1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 00:33:59 +03:00
semantic/semantic-core/BUILD.bazel

41 lines
1.1 KiB
Python
Raw Normal View History

2020-05-19 20:00:56 +03:00
# Set all targets visibility in this package to "public".
package(default_visibility = ["//visibility:public"])
# Load rules_haskell rules.
load(
"@rules_haskell//haskell:defs.bzl",
"haskell_toolchain_library",
"haskell_library",
"haskell_binary",
)
load("@rules_haskell//haskell:cabal.bzl", "haskell_cabal_binary", "haskell_cabal_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")
# You can add your own libraries with haskell_library.
haskell_library(
name = "lib",
src_strip_prefix = "src",
srcs = glob(['src/**/*.hs']),
deps = [
":base",
"//semantic-analysis:lib",
"//semantic-source:lib",
"@stackage//:fused-effects",
"@stackage//:fused-syntax",
"@stackage//:hashable",
"@stackage//:parsers",
"@stackage//:pathtype",
"@stackage//:prettyprinter",
"@stackage//:prettyprinter-ansi-terminal",
"@stackage//:text",
"@stackage//:trifecta",
"@stackage//:unordered-containers",
]
)