-
Notifications
You must be signed in to change notification settings - Fork 698
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9565 from cabalism/import/pkg-groups
Use package groups
- Loading branch information
Showing
29 changed files
with
185 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
Cabal-tests/tests/UnitTests/Distribution/PackageDescription/Check.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-- This intercepting project is here to avoid tests picking up a cabal.project | ||
-- from a parent directory, such as the one in the root of the `haskell/cabal` | ||
-- project itself. Having `optional-packages: .` avoids the folowing warning | ||
-- being added to the `.out` file: | ||
-- Warning: There are no packages or optional-packages in the project | ||
optional-packages: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
module Main where | ||
|
||
main :: IO () | ||
main = return () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,6 @@ | ||
import: cabal.project.latest-ghc | ||
|
||
packages: Cabal/ | ||
packages: cabal-testsuite/ | ||
packages: Cabal-syntax/ | ||
packages: cabal-install/ | ||
packages: cabal-install-solver/ | ||
packages: solver-benchmarks/ | ||
import: project-cabal/ghc-options.config | ||
import: project-cabal/ghc-latest.config | ||
import: project-cabal/pkgs.config | ||
import: project-cabal/constraints.config | ||
|
||
tests: True | ||
|
||
packages: Cabal-QuickCheck/ | ||
packages: Cabal-tree-diff/ | ||
packages: Cabal-described | ||
packages: Cabal-tests/ | ||
packages: cabal-benchmarks/ | ||
|
||
optional-packages: ./vendored/*/*.cabal | ||
|
||
-- avoiding extra dependencies | ||
constraints: rere -rere-cfg | ||
constraints: these -assoc | ||
|
||
program-options | ||
ghc-options: -fno-ignore-asserts |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
packages: cabal-dev-scripts | ||
optional-packages: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
packages: Cabal-syntax/ | ||
packages: Cabal/ | ||
packages: cabal-install-solver/ | ||
packages: cabal-install/ | ||
tests: False | ||
benchmarks: False | ||
optimization: True | ||
import: project-cabal/pkgs/cabal.config | ||
import: project-cabal/pkgs/install.config | ||
import: project-cabal/pkgs/tests.config | ||
|
||
index-state: hackage.haskell.org 2024-02-13T10:16:13Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,7 @@ | ||
import: cabal.project.latest-ghc | ||
|
||
packages: Cabal-syntax/ | ||
packages: Cabal/ | ||
packages: cabal-testsuite/ | ||
packages: cabal-install/ | ||
packages: solver-benchmarks/ | ||
|
||
packages: cabal-install-solver/ | ||
packages: Cabal-QuickCheck/ | ||
packages: Cabal-tree-diff | ||
packages: Cabal-described | ||
packages: Cabal-tests | ||
packages: cabal-benchmarks | ||
import: project-cabal/ghc-options.config | ||
import: project-cabal/ghc-latest.config | ||
import: project-cabal/pkgs.config | ||
import: project-cabal/constraints.config | ||
|
||
tests: True | ||
|
||
-- avoiding extra dependencies | ||
constraints: rere -rere-cfg | ||
constraints: these -assoc | ||
|
||
write-ghc-environment-files: never | ||
|
||
program-options | ||
ghc-options: -fno-ignore-asserts | ||
|
||
package Cabal-syntax | ||
ghc-options: -Werror | ||
package Cabal | ||
ghc-options: -Werror | ||
package cabal-testsuite | ||
ghc-options: -Werror | ||
package cabal-install | ||
ghc-options: -Werror |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,8 @@ | ||
packages: Cabal-syntax/ | ||
packages: Cabal/ | ||
packages: cabal-testsuite/ | ||
packages: Cabal-QuickCheck/ | ||
packages: Cabal-tree-diff | ||
packages: Cabal-described | ||
packages: Cabal-tests | ||
import: project-cabal/ghc-options.config | ||
import: project-cabal/pkgs/cabal.config | ||
import: project-cabal/pkgs/tests.config | ||
import: project-cabal/pkgs/integration-tests.config | ||
import: project-cabal/constraints.config | ||
|
||
tests: True | ||
|
||
write-ghc-environment-files: never | ||
|
||
-- avoiding extra dependencies | ||
constraints: rere -rere-cfg | ||
constraints: these -assoc | ||
|
||
program-options | ||
ghc-options: -fno-ignore-asserts | ||
|
||
package Cabal-syntax | ||
ghc-options: -Werror | ||
package Cabal | ||
ghc-options: -Werror | ||
package cabal-testsuite | ||
ghc-options: -Werror | ||
|
||
-- https://github.com/haskell-hvr/cryptohash-sha256/issues/12 | ||
allow-newer: cryptohash-sha256:base |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.