File tree Expand file tree Collapse file tree 12 files changed +48
-30
lines changed
cabal-install/tests/fixtures/init/golden Expand file tree Collapse file tree 12 files changed +48
-30
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,18 @@ build-type: Simple
1414extra-doc-files: CHANGELOG.md
1515-- extra-source-files:
1616
17- common warnings
18- ghc-options: -Wall
17+ common extensions
18+ default-language: GHC2021
19+
20+ common ghc-options
21+ ghc-options: -Wall -Widentities -Wcompat
22+
23+ common rts-options
24+ ghc-options: -rtsopts -threaded "-with-rtsopts=-N -T"
1925
2026library
2127 import: extensions
2228 import: ghc-options
23- import: rts-options
2429 exposed-modules: MyLib
2530 -- other-modules:
2631 -- other-extensions:
Original file line number Diff line number Diff line change @@ -54,8 +54,14 @@ extra-doc-files: CHANGELOG.md
5454-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
5555-- extra-source-files:
5656
57- common warnings
58- ghc-options: -Wall
57+ common extensions
58+ default-language: GHC2021
59+
60+ common ghc-options
61+ ghc-options: -Wall -Widentities -Wcompat
62+
63+ common rts-options
64+ ghc-options: -rtsopts -threaded "-with-rtsopts=-N -T"
5965
6066library
6167 -- Common language extensions
@@ -64,9 +70,6 @@ library
6470 -- Common compiler warnings and optimisations
6571 import: ghc-options
6672
67- -- Common RTS options
68- import: rts-options
69-
7073 -- Modules exported by the library.
7174 exposed-modules: MyLib
7275
Original file line number Diff line number Diff line change @@ -14,13 +14,18 @@ build-type: Simple
1414extra-doc-files: CHANGELOG.md
1515-- extra-source-files:
1616
17- common warnings
18- ghc-options: -Wall
17+ common extensions
18+ default-language: GHC2021
19+
20+ common ghc-options
21+ ghc-options: -Wall -Widentities -Wcompat
22+
23+ common rts-options
24+ ghc-options: -rtsopts -threaded "-with-rtsopts=-N -T"
1925
2026library
2127 import: extensions
2228 import: ghc-options
23- import: rts-options
2429 exposed-modules: MyLib
2530 -- other-modules:
2631 -- other-extensions:
Original file line number Diff line number Diff line change @@ -54,8 +54,14 @@ extra-doc-files: CHANGELOG.md
5454-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
5555-- extra-source-files:
5656
57- common warnings
58- ghc-options: -Wall
57+ common extensions
58+ default-language: GHC2021
59+
60+ common ghc-options
61+ ghc-options: -Wall -Widentities -Wcompat
62+
63+ common rts-options
64+ ghc-options: -rtsopts -threaded "-with-rtsopts=-N -T"
5965
6066library
6167 -- Common language extensions
@@ -64,9 +70,6 @@ library
6470 -- Common compiler warnings and optimisations
6571 import: ghc-options
6672
67- -- Common RTS options
68- import: rts-options
69-
7073 -- Modules exported by the library.
7174 exposed-modules: MyLib
7275
Original file line number Diff line number Diff line change @@ -14,8 +14,14 @@ build-type: Simple
1414extra-doc-files: CHANGELOG.md
1515-- extra-source-files:
1616
17- common warnings
18- ghc-options: -Wall
17+ common extensions
18+ default-language: GHC2021
19+
20+ common ghc-options
21+ ghc-options: -Wall -Widentities -Wcompat
22+
23+ common rts-options
24+ ghc-options: -rtsopts -threaded "-with-rtsopts=-N -T"
1925
2026test-suite y-test
2127 import: extensions
Original file line number Diff line number Diff line change @@ -54,8 +54,14 @@ extra-doc-files: CHANGELOG.md
5454-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
5555-- extra-source-files:
5656
57- common warnings
58- ghc-options: -Wall
57+ common extensions
58+ default-language: GHC2021
59+
60+ common ghc-options
61+ ghc-options: -Wall -Widentities -Wcompat
62+
63+ common rts-options
64+ ghc-options: -rtsopts -threaded "-with-rtsopts=-N -T"
5965
6066test-suite y-test
6167 -- Common language extensions
Original file line number Diff line number Diff line change 55 -- Common compiler warnings and optimisations
66 import: ghc-options
77
8- -- Common RTS options
9- import: rts-options
10-
118 -- Modules exported by the library.
129 exposed-modules: MyLib
1310
Original file line number Diff line number Diff line change 11library
22 import: extensions
33 import: ghc-options
4- import: rts-options
54 exposed-modules: MyLib
65 build-depends: base
76 hs-source-dirs: src
Original file line number Diff line number Diff line change 11library
22 import: extensions
33 import: ghc-options
4- import: rts-options
54 exposed-modules: MyLib
65 -- other-modules:
76 -- other-extensions:
Original file line number Diff line number Diff line change 11library
22 import: extensions
33 import: ghc-options
4- import: rts-options
54 exposed-modules: MyLib
65 build-depends: base
76 hs-source-dirs: src
You can’t perform that action at this time.
0 commit comments