mirror of
https://github.com/github/semantic.git
synced 2024-12-13 03:15:45 +03:00
39 lines
904 B
Python
39 lines
904 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@rules_haskell//haskell:defs.bzl",
|
|
"haskell_binary",
|
|
"haskell_library",
|
|
)
|
|
load(
|
|
"@rules_haskell//haskell:cabal.bzl",
|
|
"haskell_cabal_binary",
|
|
"haskell_cabal_library",
|
|
)
|
|
load(
|
|
"//:build/common.bzl",
|
|
"GHC_FLAGS",
|
|
)
|
|
|
|
haskell_library(
|
|
name = "semantic-scope-graph",
|
|
srcs = glob(["src/**/*.hs"]),
|
|
compiler_flags = GHC_FLAGS + ["-XOverloadedStrings"],
|
|
deps = [
|
|
"//:base",
|
|
"//:containers",
|
|
"//:text",
|
|
"//semantic-analysis",
|
|
"//semantic-source",
|
|
"@stackage//:aeson",
|
|
"@stackage//:algebraic-graphs",
|
|
"@stackage//:fused-effects",
|
|
"@stackage//:generic-lens",
|
|
"@stackage//:generic-monoid",
|
|
"@stackage//:hashable",
|
|
"@stackage//:lens",
|
|
"@stackage//:pathtype",
|
|
"@stackage//:semilattices",
|
|
],
|
|
)
|