2019-06-04 21:48:18 +03:00
|
|
|
# Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
load("//bazel_tools:haskell.bzl", "da_haskell_binary", "da_haskell_test")
|
|
|
|
|
|
|
|
da_haskell_test(
|
|
|
|
name = "lsp-tests",
|
|
|
|
srcs = glob(["src/**/*.hs"]),
|
|
|
|
data = [
|
|
|
|
"//daml-foundations/daml-tools/da-hs-damlc-app",
|
|
|
|
],
|
|
|
|
hazel_deps = [
|
2019-06-08 09:36:27 +03:00
|
|
|
"aeson",
|
2019-06-04 21:48:18 +03:00
|
|
|
"base",
|
2019-06-07 16:34:42 +03:00
|
|
|
"containers",
|
2019-06-04 21:48:18 +03:00
|
|
|
"extra",
|
|
|
|
"filepath",
|
2019-06-08 09:36:27 +03:00
|
|
|
"haskell-lsp",
|
2019-06-04 21:48:18 +03:00
|
|
|
"haskell-lsp-types",
|
|
|
|
"lens",
|
|
|
|
"lsp-test",
|
|
|
|
"mtl",
|
2019-06-08 09:36:27 +03:00
|
|
|
"network-uri",
|
2019-06-04 21:48:18 +03:00
|
|
|
"parser-combinators",
|
|
|
|
"tasty",
|
|
|
|
"tasty-hunit",
|
|
|
|
"text",
|
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2019-06-06 13:06:07 +03:00
|
|
|
"//compiler/haskell-ide-core",
|
2019-06-08 09:36:27 +03:00
|
|
|
"//daml-foundations/daml-ghc/language-server",
|
2019-06-04 21:48:18 +03:00
|
|
|
"//daml-foundations/daml-ghc/test-lib",
|
|
|
|
"//libs-haskell/bazel-runfiles",
|
|
|
|
],
|
|
|
|
)
|