Skip to content

Commit 372a679

Browse files
committed
Known workaround to add source-dirs
1 parent 1833d29 commit 372a679

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

demo-hls-jump-to-definition.cabal

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cabal-version: 1.12
44
--
55
-- see: https://github.com/sol/hpack
66
--
7-
-- hash: 9da40c309046377d92b7f821cb757c7f0e7d46ee05cb86a09cb46aa3c804eb92
7+
-- hash: fe5d392200e78c3beacc6e0c5952d2dce8f3814bb05456e7eb772441a35f862e
88

99
name: demo-hls-jump-to-definition
1010
version: 0.1.0.0
@@ -53,9 +53,11 @@ test-suite demo-hls-jump-to-definition-test
5353
main-is: Spec.hs
5454
other-modules:
5555
SpecHelper
56+
Lib
5657
Paths_demo_hls_jump_to_definition
5758
hs-source-dirs:
5859
test
60+
src
5961
ghc-options: -threaded -rtsopts -with-rtsopts=-N
6062
build-depends:
6163
base >=4.7 && <5

package.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ executables:
3939
tests:
4040
demo-hls-jump-to-definition-test:
4141
main: Spec.hs
42-
source-dirs: test
42+
source-dirs:
43+
- test
44+
- src
4345
ghc-options:
4446
- -threaded
4547
- -rtsopts

0 commit comments

Comments
 (0)