2020-06-30 16:59:14 +03:00
|
|
|
cabal-version: 3.0
|
|
|
|
license: BSD-3-Clause
|
2020-03-15 18:23:48 +03:00
|
|
|
license-file: LICENSE
|
|
|
|
name: weeder
|
|
|
|
author: Ollie Charles <ollie@ocharles.org.uk>
|
2020-03-15 21:11:18 +03:00
|
|
|
maintainer: Ollie Charles <ollie@ocharles.org.uk>
|
2020-03-15 18:23:48 +03:00
|
|
|
build-type: Simple
|
2023-07-07 14:47:16 +03:00
|
|
|
version: 2.6.0
|
2023-01-05 14:32:26 +03:00
|
|
|
copyright: Neil Mitchell 2017-2020, Oliver Charles 2020-2023
|
2020-03-15 18:23:48 +03:00
|
|
|
synopsis: Detect dead code
|
|
|
|
description: Find declarations.
|
|
|
|
homepage: https://github.com/ocharles/weeder#readme
|
|
|
|
bug-reports: https://github.com/ocharles/weeder/issues
|
2020-03-15 21:11:18 +03:00
|
|
|
category: Development
|
2020-03-15 18:23:48 +03:00
|
|
|
extra-doc-files:
|
|
|
|
README.md
|
|
|
|
CHANGELOG.md
|
2023-06-23 23:54:10 +03:00
|
|
|
extra-source-files:
|
|
|
|
test/Spec/*.toml
|
|
|
|
test/Spec/*.stdout
|
2019-09-10 12:23:57 +03:00
|
|
|
|
2019-09-16 11:59:37 +03:00
|
|
|
library
|
2020-03-08 16:49:48 +03:00
|
|
|
build-depends:
|
2023-06-23 14:12:16 +03:00
|
|
|
, algebraic-graphs ^>= 0.7
|
|
|
|
, base ^>= 4.17.0.0 || ^>= 4.18.0.0
|
2020-12-11 12:24:04 +03:00
|
|
|
, bytestring ^>= 0.10.9.0 || ^>= 0.11.0.0
|
2020-06-30 16:59:14 +03:00
|
|
|
, containers ^>= 0.6.2.1
|
|
|
|
, directory ^>= 1.3.3.2
|
|
|
|
, filepath ^>= 1.4.2.1
|
2021-10-11 20:53:32 +03:00
|
|
|
, generic-lens ^>= 2.2.0.0
|
2023-06-23 14:12:16 +03:00
|
|
|
, ghc ^>= 9.4 || ^>= 9.6
|
2023-01-05 14:18:42 +03:00
|
|
|
, lens ^>= 5.1 || ^>= 5.2
|
2023-06-23 14:12:16 +03:00
|
|
|
, mtl ^>= 2.2.2 || ^>= 2.3
|
2022-05-21 17:05:37 +03:00
|
|
|
, optparse-applicative ^>= 0.14.3.0 || ^>= 0.15.1.0 || ^>= 0.16.0.0 || ^>= 0.17
|
2020-06-30 16:59:14 +03:00
|
|
|
, regex-tdfa ^>= 1.2.0.0 || ^>= 1.3.1.0
|
2023-01-20 13:56:51 +03:00
|
|
|
, text ^>= 2.0.1
|
2023-06-22 16:28:09 +03:00
|
|
|
, toml-reader ^>= 0.2.0.0
|
2021-08-29 12:36:08 +03:00
|
|
|
, transformers ^>= 0.5.6.2 || ^>= 0.6
|
2019-09-10 12:23:57 +03:00
|
|
|
hs-source-dirs: src
|
2020-03-14 19:19:13 +03:00
|
|
|
exposed-modules:
|
|
|
|
Weeder
|
|
|
|
Weeder.Config
|
|
|
|
Weeder.Main
|
2020-05-21 23:05:04 +03:00
|
|
|
autogen-modules:
|
|
|
|
Paths_weeder
|
|
|
|
other-modules:
|
|
|
|
Paths_weeder
|
2020-03-06 12:04:49 +03:00
|
|
|
ghc-options: -Wall -fwarn-incomplete-uni-patterns
|
2020-03-15 21:10:33 +03:00
|
|
|
default-language: Haskell2010
|
2019-09-16 11:59:37 +03:00
|
|
|
|
|
|
|
|
2019-09-16 12:02:58 +03:00
|
|
|
executable weeder
|
2020-03-08 16:49:48 +03:00
|
|
|
build-depends:
|
2021-08-29 12:36:08 +03:00
|
|
|
, base
|
|
|
|
, bytestring
|
|
|
|
, containers
|
|
|
|
, directory
|
|
|
|
, filepath
|
|
|
|
, ghc
|
|
|
|
, optparse-applicative
|
|
|
|
, transformers
|
2020-06-30 16:59:14 +03:00
|
|
|
, weeder
|
2019-09-16 12:02:58 +03:00
|
|
|
main-is: Main.hs
|
|
|
|
hs-source-dirs: exe-weeder
|
2020-03-06 12:04:49 +03:00
|
|
|
ghc-options: -Wall -fwarn-incomplete-uni-patterns
|
2020-03-15 21:10:33 +03:00
|
|
|
default-language: Haskell2010
|
2023-06-23 23:54:10 +03:00
|
|
|
|
|
|
|
test-suite weeder-test
|
|
|
|
build-depends:
|
|
|
|
, aeson
|
|
|
|
, algebraic-graphs
|
|
|
|
, base
|
|
|
|
, directory
|
|
|
|
, filepath
|
|
|
|
, ghc
|
|
|
|
, hspec
|
|
|
|
, process
|
|
|
|
, silently
|
|
|
|
, text
|
|
|
|
, toml-reader
|
|
|
|
, weeder
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Spec.hs
|
|
|
|
hs-source-dirs: test
|
|
|
|
autogen-modules:
|
|
|
|
Paths_weeder
|
|
|
|
other-modules:
|
|
|
|
Paths_weeder
|
|
|
|
-- Tests
|
|
|
|
Spec.BasicExample.BasicExample
|
|
|
|
ghc-options: -Wall -fwarn-incomplete-uni-patterns -fwrite-ide-info -hiedir ./test
|
|
|
|
default-language: Haskell2010
|