Commit 269c117
Rework common stanzas in the cabal file generated by
* Reword common stanzas in the cabal file generated by `cabal init`
Following haskell#11231, this commit reworks the common stanzas present in the
cabal file generated by `cabal init`.
* Accept golden tests
* Don't insert rts options stanza imports for library
* Remove old common stanza
* Update golden tests
* Remove tests/fixtures from .gitignore
* Initial plan
* Remove -T and -Wcompat from the default flags
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>cabal init (haskell#11261)1 parent 370001d commit 269c117
27 files changed
Lines changed: 447 additions & 238 deletions
File tree
- cabal-install
- src/Distribution/Client/Init
- tests
- UnitTests/Distribution/Client/Init
- fixtures/init/golden
- cabal
- exe
- lib
- test
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | | - | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
0 commit comments