From c1fe4e8beeda945a4036029d3148206fd4e3e835 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Tue, 15 Jun 2021 03:24:22 +0800 Subject: [PATCH] Include testdata in hls-refine-imports-plugin.cabal (#1922) It's currently missing in the hackage tarball: ``` Refine Imports WithOverride (golden): Error while initializing: ResponseError {_code = InternalError, _message = "Error on initialize: /build/haskell-hls-refine-imports-plugin/src/hls-refine-imports-plugin-1.0.0.0/test/testdata: changeWorkingDirectory: does not exist (No such file or directory)", _xdata = Nothing} Error while initializing: ResponseError {_code = InternalError, _message = "Error on initialize: /build/haskell-hls-refine-imports-plugin/src/hls-refine-imports-plugin-1.0.0.0/test/testdata: changeWorkingDirectory: does not exist (No such file or directory)", _xdata = Nothing} FAIL (1.42s) ``` (cherry picked from commit 8a10c50320bb038dcaad171efea87e4e57afce9d) --- .../hls-refine-imports-plugin.cabal | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/hls-refine-imports-plugin/hls-refine-imports-plugin.cabal b/plugins/hls-refine-imports-plugin/hls-refine-imports-plugin.cabal index 0896de2556..3501b22835 100644 --- a/plugins/hls-refine-imports-plugin/hls-refine-imports-plugin.cabal +++ b/plugins/hls-refine-imports-plugin/hls-refine-imports-plugin.cabal @@ -8,7 +8,10 @@ author: rayshih maintainer: mnf.shih@gmail.com category: Development build-type: Simple -extra-source-files: LICENSE +extra-source-files: + LICENSE + test/testdata/*.hs + test/testdata/*.yaml library exposed-modules: Ide.Plugin.RefineImports