Skip to content

Commit 5ba332c

Browse files
committed
cabal: Add integration tests data to extra files
Necessary to make the sdists testable Additionally, drop CHANGELOGs and LICENSES from unit test packages.
1 parent ad9018b commit 5ba332c

12 files changed

Lines changed: 13 additions & 60 deletions

File tree

haskell-debugger.cabal

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,21 @@ extra-source-files: haskell-debugger-view/src/GHC/Debugger/View/Class.hs
3737
haskell-debugger-view/src/GHC/Debugger/View/Containers.hs
3838
haskell-debugger-view/src/GHC/Debugger/View/Text.hs
3939
haskell-debugger-view/src/GHC/Debugger/View/ByteString.hs
40+
haskell-debugger-view/haskell-debugger-view.cabal
41+
haskell-debugger-view/LICENSE
42+
haskell-debugger-view/CHANGELOG.md
4043

4144
-- Should probably be extra extra-files but that requires cabal 3.14
4245
test/golden/**/*.hs
46+
test/golden/**/*.cabal
47+
test/golden/**/*.yaml
48+
test/golden/**/*.project
49+
50+
test/integration/**/*.hs
51+
test/integration/**/*.cabal
52+
test/integration/**/*.yaml
53+
test/integration/**/*.project
54+
4355
test/golden/**/*.hdb-stdin
4456
test/golden/**/*.hdb-stdout
4557
test/golden/**/*.hdb-test

test/integration/T107a/CHANGELOG.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/integration/T107a/b/CHANGELOG.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/integration/T107a/b/b.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ license: NONE
55
author: Rodrigo Mesquita
66
maintainer: rodrigo.m.mesquita@gmail.com
77
build-type: Simple
8-
extra-doc-files: CHANGELOG.md
98

109
common warnings
1110
ghc-options: -Wall -finfo-table-map

test/integration/T107a/t3.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ license: NONE
55
author: Rodrigo Mesquita
66
maintainer: rodrigo.m.mesquita@gmail.com
77
build-type: Simple
8-
extra-doc-files: CHANGELOG.md
98

109
common warnings
1110
ghc-options: -Wall

test/integration/T77/CHANGELOG.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/integration/T77/LICENSE

Lines changed: 0 additions & 29 deletions
This file was deleted.

test/integration/T77/T77.cabal

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ cabal-version: 3.0
22
name: T77
33
version: 0.1.0.0
44
license: BSD-3-Clause
5-
license-file: LICENSE
5+
license-file: NONE
66
author: Rodrigo Mesquita
77
maintainer: rodrigo.m.mesquita@gmail.com
88
build-type: Simple
9-
extra-doc-files: CHANGELOG.md
109

1110
common warnings
1211
ghc-options: -Wall

test/integration/cabal1/CHANGELOG.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/integration/cabal1/cabal1.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ license: NONE
55
author: Rodrigo Mesquita
66
maintainer: rodrigo.m.mesquita@gmail.com
77
build-type: Simple
8-
extra-doc-files: CHANGELOG.md
98

109
common warnings
1110
ghc-options: -Wall

0 commit comments

Comments
 (0)