daml/compiler/lsp-tests/BUILD.bazel

37 lines
941 B
Python
Raw Normal View History

# 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 = [
"aeson",
"base",
"containers",
"extra",
"filepath",
"haskell-lsp",
"haskell-lsp-types",
"lens",
"lsp-test",
"mtl",
"network-uri",
"parser-combinators",
"tasty",
"tasty-hunit",
"text",
],
visibility = ["//visibility:public"],
deps = [
"//compiler/haskell-ide-core",
"//daml-foundations/daml-ghc/language-server",
"//daml-foundations/daml-ghc/test-lib",
"//libs-haskell/bazel-runfiles",
],
)