File tree Expand file tree Collapse file tree 7 files changed +32
-259
lines changed
plugins/hls-stylish-haskell-plugin Expand file tree Collapse file tree 7 files changed +32
-259
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ packages:
8
8
./ghcide/test
9
9
./hls-plugin-api
10
10
./hls-test-utils
11
- ./plugins/hls-stylish-haskell-plugin
12
11
./plugins/hls-refactor-plugin
13
12
./plugins/hls-semantic-tokens-plugin
14
13
Original file line number Diff line number Diff line change @@ -1505,6 +1505,37 @@ common stylishHaskell
1505
1505
build-depends : hls-stylish-haskell-plugin == 2.6.0.0
1506
1506
cpp-options : -Dhls_stylishHaskell
1507
1507
1508
+ library hls-stylish-haskell-plugin
1509
+ import : warnings
1510
+ exposed-modules : Ide.Plugin.StylishHaskell
1511
+ hs-source-dirs : plugins/hls-stylish-haskell-plugin/src
1512
+ build-depends :
1513
+ , base >= 4.12 && < 5
1514
+ , directory
1515
+ , filepath
1516
+ , ghc-boot-th
1517
+ , ghcide == 2.6.0.0
1518
+ , hls-plugin-api == 2.6.0.0
1519
+ , lsp-types
1520
+ , mtl
1521
+ , stylish-haskell ^>= 0.12 || ^>= 0.13 || ^>= 0.14.2
1522
+ , text
1523
+
1524
+ default-language : Haskell2010
1525
+
1526
+ test-suite hls-stylish-haskell-plugin-tests
1527
+ import : warnings
1528
+ type : exitcode-stdio-1.0
1529
+ default-language : Haskell2010
1530
+ hs-source-dirs : plugins/hls-stylish-haskell-plugin/test
1531
+ main-is : Main.hs
1532
+ ghc-options : -threaded -rtsopts -with-rtsopts=-N
1533
+ build-depends :
1534
+ , base
1535
+ , filepath
1536
+ , hls-stylish-haskell-plugin
1537
+ , hls-test-utils == 2.6.0.0
1538
+
1508
1539
-----------------------------
1509
1540
-- refactor plugin
1510
1541
-----------------------------
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ goldenWithStylishHaskell :: TestName -> FilePath -> FilePath -> (TextDocumentIde
25
25
goldenWithStylishHaskell title fp desc = goldenWithHaskellDocFormatter def stylishHaskellPlugin " stylishHaskell" def title testDataDir fp desc " hs"
26
26
27
27
testDataDir :: FilePath
28
- testDataDir = " test" </> " testdata"
28
+ testDataDir = " plugins " </> " hls-stylish-haskell-plugin " </> " test" </> " testdata"
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ packages:
10
10
- ./hls-test-utils
11
11
# - ./shake-bench
12
12
- ./plugins/hls-refactor-plugin
13
- - ./plugins/hls-stylish-haskell-plugin
14
13
- ./plugins/hls-semantic-tokens-plugin
15
14
16
15
ghc-options :
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ packages:
10
10
- ./hls-test-utils
11
11
# - ./shake-bench
12
12
- ./plugins/hls-refactor-plugin
13
- - ./plugins/hls-stylish-haskell-plugin
14
13
- ./plugins/hls-semantic-tokens-plugin
15
14
16
15
ghc-options :
You can’t perform that action at this time.
0 commit comments