mirror of
https://github.com/github/semantic.git
synced 2024-11-26 17:15:37 +03:00
and semantic-scope-graph
This commit is contained in:
parent
98ce019780
commit
c79cfdcb60
@ -56,10 +56,12 @@ stack_snapshot(
|
|||||||
"fused-effects",
|
"fused-effects",
|
||||||
"fused-effects-readline",
|
"fused-effects-readline",
|
||||||
"fused-syntax",
|
"fused-syntax",
|
||||||
|
"generic-lens",
|
||||||
"generic-monoid",
|
"generic-monoid",
|
||||||
"hashable",
|
"hashable",
|
||||||
"haskeline",
|
"haskeline",
|
||||||
"hedgehog",
|
"hedgehog",
|
||||||
|
"lens",
|
||||||
"optparse-applicative",
|
"optparse-applicative",
|
||||||
"pathtype",
|
"pathtype",
|
||||||
"parsers",
|
"parsers",
|
||||||
|
42
semantic-scope-graph/BUILD.bazel
Normal file
42
semantic-scope-graph/BUILD.bazel
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
# 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",
|
||||||
|
"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']),
|
||||||
|
compiler_flags = ["-XOverloadedStrings"],
|
||||||
|
deps = [
|
||||||
|
":base",
|
||||||
|
"//semantic-analysis:lib",
|
||||||
|
"//semantic-source:lib",
|
||||||
|
"@stackage//:aeson",
|
||||||
|
"@stackage//:algebraic-graphs",
|
||||||
|
"@stackage//:containers",
|
||||||
|
"@stackage//:fused-effects",
|
||||||
|
"@stackage//:generic-monoid",
|
||||||
|
"@stackage//:generic-lens",
|
||||||
|
"@stackage//:hashable",
|
||||||
|
"@stackage//:lens",
|
||||||
|
"@stackage//:pathtype",
|
||||||
|
"@stackage//:semilattices",
|
||||||
|
"@stackage//:text",
|
||||||
|
]
|
||||||
|
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user