1
1
mirror of https://github.com/github/semantic.git synced 2024-11-22 23:29:37 +03:00

and semantic-scope-graph

This commit is contained in:
Patrick Thomson 2020-05-19 13:07:33 -04:00
parent 98ce019780
commit c79cfdcb60
2 changed files with 44 additions and 0 deletions

View File

@ -56,10 +56,12 @@ stack_snapshot(
"fused-effects",
"fused-effects-readline",
"fused-syntax",
"generic-lens",
"generic-monoid",
"hashable",
"haskeline",
"hedgehog",
"lens",
"optparse-applicative",
"pathtype",
"parsers",

View File

@ -0,0 +1,42 @@
# 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']),
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",
]
)