2020-05-27 21:18:21 +03:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
2020-05-19 20:00:56 +03:00
|
|
|
|
|
|
|
load(
|
|
|
|
"@rules_haskell//haskell:defs.bzl",
|
|
|
|
"haskell_library",
|
2020-05-21 22:45:54 +03:00
|
|
|
"haskell_test",
|
2020-05-19 20:00:56 +03:00
|
|
|
)
|
2020-05-22 02:24:56 +03:00
|
|
|
load(
|
2020-05-27 21:18:21 +03:00
|
|
|
"@rules_haskell//haskell:cabal.bzl",
|
|
|
|
"haskell_cabal_binary",
|
|
|
|
"haskell_cabal_library",
|
2020-05-22 02:24:56 +03:00
|
|
|
)
|
2020-06-23 16:45:10 +03:00
|
|
|
load(
|
|
|
|
"//:build/common.bzl",
|
2020-07-01 08:35:20 +03:00
|
|
|
"EXECUTABLE_FLAGS",
|
2020-07-01 07:35:09 +03:00
|
|
|
"GHC_FLAGS",
|
2020-06-23 16:45:10 +03:00
|
|
|
)
|
2020-05-19 20:00:56 +03:00
|
|
|
|
|
|
|
haskell_library(
|
2020-06-27 19:47:04 +03:00
|
|
|
name = "semantic-core",
|
2020-05-27 21:18:21 +03:00
|
|
|
srcs = glob(["src/**/*.hs"]),
|
2020-07-01 07:35:09 +03:00
|
|
|
compiler_flags = GHC_FLAGS,
|
2020-05-27 21:18:21 +03:00
|
|
|
deps = [
|
2020-06-25 15:56:09 +03:00
|
|
|
"//:base",
|
2020-06-27 19:47:04 +03:00
|
|
|
"//:text",
|
|
|
|
"//semantic-analysis",
|
2020-05-19 20:00:56 +03:00
|
|
|
"@stackage//:fused-effects",
|
|
|
|
"@stackage//:hashable",
|
2020-05-21 22:45:54 +03:00
|
|
|
],
|
2020-05-19 20:00:56 +03:00
|
|
|
)
|