mirror of
https://github.com/github/semantic.git
synced 2024-11-26 09:07:39 +03:00
Get semantic-source tests working.
This commit is contained in:
parent
99a3677066
commit
914690435f
@ -52,6 +52,7 @@ stack_snapshot(
|
||||
"containers",
|
||||
"deepseq",
|
||||
"directory",
|
||||
"doctest",
|
||||
"filepath",
|
||||
"fused-effects",
|
||||
"fused-effects-readline",
|
||||
|
@ -6,7 +6,7 @@ load(
|
||||
"@rules_haskell//haskell:defs.bzl",
|
||||
"haskell_toolchain_library",
|
||||
"haskell_library",
|
||||
"haskell_binary",
|
||||
"haskell_test",
|
||||
)
|
||||
|
||||
load("@rules_haskell//haskell:cabal.bzl", "haskell_cabal_binary", "haskell_cabal_library")
|
||||
@ -16,7 +16,6 @@ load("@rules_haskell//haskell:cabal.bzl", "haskell_cabal_binary", "haskell_cabal
|
||||
# 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",
|
||||
@ -36,3 +35,18 @@ haskell_library(
|
||||
"@stackage//:pathtype",
|
||||
],
|
||||
)
|
||||
|
||||
haskell_test(
|
||||
name = "test",
|
||||
src_strip_prefix = "test",
|
||||
srcs = ['test/Test.hs', 'test/Source/Test.hs'],
|
||||
deps = [
|
||||
":base",
|
||||
":lib",
|
||||
"@stackage//:hedgehog",
|
||||
"@stackage//:tasty",
|
||||
"@stackage//:tasty-hedgehog",
|
||||
"@stackage//:tasty-hunit",
|
||||
"@stackage//:text",
|
||||
],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user