Skip to content

Commit

Permalink
and semantic-scope-graph
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickt committed May 19, 2020
1 parent 98ce019 commit c79cfdc
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WORKSPACE
Expand Up @@ -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",
Expand Down
42 changes: 42 additions & 0 deletions semantic-scope-graph/BUILD.bazel
@@ -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",
]

)

0 comments on commit c79cfdc

Please sign in to comment.