Only check -Wunused-package by project
[cabal.git] / solver-benchmarks / solver-benchmarks.cabal
blob22ef92117fdfc1aaf3d8c0cfc28e77633df5842b
1 cabal-version:  2.2
2 name:          solver-benchmarks
3 version:       3
4 copyright:     2003-2024, Cabal Development Team (see AUTHORS file)
5 license:       BSD-3-Clause
6 license-file:  LICENSE
7 author:        Cabal Development Team <cabal-devel@haskell.org>
8 maintainer:    cabal-devel@haskell.org
9 homepage:      http://www.haskell.org/cabal/
10 bug-reports:   https://github.com/haskell/cabal/issues
11 synopsis:      Benchmarks for the cabal dependency solver
12 description:
13   This package contains benchmarks that test cabal's dependency solver by running the cabal executable.
14 category:       Distribution
15 build-type:     Simple
17 extra-source-files:
18   README.md
20 source-repository head
21   type:     git
22   location: https://github.com/haskell/cabal/
23   subdir:   solver-benchmarks
25 library
26   ghc-options: -Wall -fwarn-tabs
27   exposed-modules:
28     HackageBenchmark
29   build-depends:
30     async >=2.2.2 && <2.3,
31     base,
32     bytestring,
33     containers,
34     Cabal-syntax ^>= 3.11,
35     directory,
36     filepath,
37     optparse-applicative,
38     process,
39     time,
40     statistics >= 0.14 && < 0.17,
41     vector
42   default-language: Haskell2010
44 executable hackage-benchmark
45   main-is: hackage-benchmark.hs
46   hs-source-dirs: main
47   ghc-options: -threaded -Wall -fwarn-tabs
48   build-depends:
49     base,
50     solver-benchmarks
51   default-language: Haskell2010
53 test-suite unit-tests
54   type: exitcode-stdio-1.0
55   main-is: HackageBenchmarkTest.hs
56   hs-source-dirs: tests
57   ghc-options: -threaded -Wall -fwarn-tabs
58   build-depends:
59     base,
60     solver-benchmarks,
61     statistics >= 0.14 && < 0.17,
62     tasty,
63     tasty-hunit
64   default-language: Haskell2010