Skip to content

Commit c5f0956

Browse files
committed
Add rts options
1 parent 1e7eb12 commit c5f0956

File tree

7 files changed

+50
-42
lines changed

7 files changed

+50
-42
lines changed

hls-test-utils/hls-test-utils.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ library
3434
hs-source-dirs: src
3535
build-depends:
3636
, aeson
37+
, async
3738
, base
3839
, blaze-markup
3940
, bytestring
@@ -59,7 +60,6 @@ library
5960
, temporary
6061
, text
6162
, unordered-containers
62-
, async
6363

6464
ghc-options: -Wall
6565

Lines changed: 32 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,48 @@
1-
cabal-version: 2.4
2-
name: hls-brittany-plugin
3-
version: 1.0.0.0
4-
synopsis: Integration with the Brittany code formatter
5-
description: Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
6-
license: Apache-2.0
7-
license-file: LICENSE
8-
author: The Haskell IDE Team
9-
copyright: The Haskell IDE Team
10-
maintainer: [email protected]
11-
category: Development
12-
build-type: Simple
1+
cabal-version: 2.4
2+
name: hls-brittany-plugin
3+
version: 1.0.0.0
4+
synopsis: Integration with the Brittany code formatter
5+
description:
6+
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
7+
8+
license: Apache-2.0
9+
license-file: LICENSE
10+
author: The Haskell IDE Team
11+
copyright: The Haskell IDE Team
12+
maintainer: [email protected]
13+
category: Development
14+
build-type: Simple
1315
extra-source-files:
1416
LICENSE
1517
test/testdata/**/*.hs
1618

1719
library
1820
exposed-modules: Ide.Plugin.Brittany
1921
hs-source-dirs: src
20-
build-depends: base >=4.12 && <5
21-
, brittany >= 0.13.1.0
22-
, filepath
23-
, ghc
24-
, ghc-boot-th
25-
, ghcide ^>= 1.1.0.0
26-
, lsp-types
27-
, hls-plugin-api >= 1.0 && < 1.2
28-
, lens
29-
, text
30-
, transformers
22+
build-depends:
23+
, base >=4.12 && <5
24+
, brittany >=0.13.1.0
25+
, filepath
26+
, ghc
27+
, ghc-boot-th
28+
, ghcide ^>=1.1.0.0
29+
, hls-plugin-api >=1.0 && <1.2
30+
, lens
31+
, lsp-types
32+
, text
33+
, transformers
3134

3235
default-language: Haskell2010
3336

3437
test-suite tests
35-
type: exitcode-stdio-1.0
36-
default-language: Haskell2010
37-
hs-source-dirs: test
38-
main-is: Main.hs
38+
type: exitcode-stdio-1.0
39+
default-language: Haskell2010
40+
hs-source-dirs: test
41+
main-is: Main.hs
42+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
3943
build-depends:
4044
, base
4145
, bytestring
4246
, hls-brittany-plugin
43-
, text
4447
, hls-test-utils
48+
, text

plugins/hls-class-plugin/hls-class-plugin.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ test-suite tests
5050
default-language: Haskell2010
5151
hs-source-dirs: test
5252
main-is: Main.hs
53+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
5354
build-depends:
5455
, base
5556
, bytestring

plugins/hls-eval-plugin/hls-eval-plugin.cabal

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ build-type: Simple
1919
extra-source-files:
2020
LICENSE
2121
README.md
22-
test/testdata/*.yaml
23-
test/testdata/*.hs
22+
test/testdata/*.cabal
2423
test/testdata/*.expected
24+
test/testdata/*.hs
2525
test/testdata/*.lhs
26-
test/testdata/*.cabal
26+
test/testdata/*.yaml
2727

2828
flag pedantic
2929
description: Enable -Werror
@@ -93,11 +93,11 @@ library
9393
TypeOperators
9494

9595
test-suite tests
96-
type: exitcode-stdio-1.0
97-
default-language: Haskell2010
98-
hs-source-dirs: test
99-
main-is: Main.hs
100-
96+
type: exitcode-stdio-1.0
97+
default-language: Haskell2010
98+
hs-source-dirs: test
99+
main-is: Main.hs
100+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
101101
build-depends:
102102
, aeson
103103
, base

plugins/hls-haddock-comments-plugin/hls-haddock-comments-plugin.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ test-suite tests
4545
default-language: Haskell2010
4646
hs-source-dirs: test
4747
main-is: Main.hs
48+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
4849
build-depends:
4950
, base
5051
, bytestring

plugins/hls-splice-plugin/hls-splice-plugin.cabal

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ category: Development
1919
build-type: Simple
2020
extra-source-files:
2121
LICENSE
22-
test/testdata/*.expected
2322
test/testdata/*.error
23+
test/testdata/*.expected
2424
test/testdata/*.hs
2525
test/testdata/*.yaml
2626

@@ -58,10 +58,11 @@ library
5858
TypeOperators
5959

6060
test-suite tests
61-
type: exitcode-stdio-1.0
62-
default-language: Haskell2010
63-
hs-source-dirs: test
64-
main-is: Main.hs
61+
type: exitcode-stdio-1.0
62+
default-language: Haskell2010
63+
hs-source-dirs: test
64+
main-is: Main.hs
65+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
6566
build-depends:
6667
, base
6768
, directory

plugins/hls-stylish-haskell-plugin/hls-stylish-haskell-plugin.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ test-suite tests
3636
default-language: Haskell2010
3737
hs-source-dirs: test
3838
main-is: Main.hs
39+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
3940
build-depends:
4041
, base
4142
, bytestring

0 commit comments

Comments
 (0)