mirror of
https://github.com/joshuaclayton/unused.git
synced 2024-08-15 15:50:26 +03:00
Why? ==== Handling low likelihood configuration was previously a huge pain, because the syntax in Haskell was fairly terse. This introduces a yaml format internally that ships with the app covering basic cases for Rails, Phoenix, and Haskell. I could imagine getting baselines in here for other languages and frameworks (especially ones I've used and am comfortable with) as a baseline. This also paves the way for searching for user-provided additions and loading those configurations in addition to what we have here.
96 lines
3.5 KiB
Plaintext
96 lines
3.5 KiB
Plaintext
name: unused
|
|
version: 0.1.1.0
|
|
synopsis: A command line tool to identify unused code.
|
|
description: Please see README.md
|
|
homepage: https://github.com/joshuaclayton/unused#readme
|
|
license: MIT
|
|
license-file: LICENSE
|
|
author: Josh Clayton
|
|
maintainer: sayhi@joshuaclayton.me
|
|
copyright: 2016 Josh Clayton
|
|
category: Development
|
|
build-type: Simple
|
|
-- extra-source-files:
|
|
cabal-version: >=1.10
|
|
data-files: data/config.yml
|
|
|
|
library
|
|
hs-source-dirs: src
|
|
exposed-modules: Unused.TermSearch
|
|
, Unused.TermSearch.Internal
|
|
, Unused.Parser
|
|
, Unused.Parser.Internal
|
|
, Unused.Types
|
|
, Unused.Util
|
|
, Unused.Regex
|
|
, Unused.ResponseFilter
|
|
, Unused.ResultsClassifier
|
|
, Unused.ResultsClassifier.Types
|
|
, Unused.ResultsClassifier.Config
|
|
, Unused.Grouping
|
|
, Unused.Grouping.Internal
|
|
, Unused.Grouping.Types
|
|
, Unused.LikelihoodCalculator
|
|
, Unused.Cache
|
|
, Unused.Cache.DirectoryFingerprint
|
|
, Unused.CLI
|
|
, Unused.CLI.Search
|
|
, Unused.CLI.SearchError
|
|
, Unused.CLI.SearchResult
|
|
, Unused.CLI.SearchResult.ColumnFormatter
|
|
, Unused.CLI.Util
|
|
, Unused.CLI.ProgressIndicator
|
|
, Unused.CLI.ProgressIndicator.Internal
|
|
, Unused.CLI.ProgressIndicator.Types
|
|
other-modules: Paths_unused
|
|
build-depends: base >= 4.7 && < 5
|
|
, process
|
|
, parsec
|
|
, containers
|
|
, filepath
|
|
, directory
|
|
, regex-tdfa
|
|
, terminal-progress-bar
|
|
, ansi-terminal
|
|
, unix
|
|
, parallel-io
|
|
, yaml
|
|
, bytestring
|
|
, text
|
|
, unordered-containers
|
|
ghc-options: -Wall -Werror -O2
|
|
default-language: Haskell2010
|
|
|
|
executable unused
|
|
hs-source-dirs: app
|
|
main-is: Main.hs
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Werror -O2
|
|
build-depends: base
|
|
, unused
|
|
, optparse-applicative
|
|
default-language: Haskell2010
|
|
|
|
test-suite unused-test
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: test
|
|
main-is: Spec.hs
|
|
build-depends: base
|
|
, unused
|
|
, hspec
|
|
, containers
|
|
other-modules: Unused.ParserSpec
|
|
, Unused.Parser.InternalSpec
|
|
, Unused.ResponseFilterSpec
|
|
, Unused.TypesSpec
|
|
, Unused.LikelihoodCalculatorSpec
|
|
, Unused.Grouping.InternalSpec
|
|
, Unused.TermSearch.InternalSpec
|
|
, Unused.UtilSpec
|
|
, Paths_unused
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Werror
|
|
default-language: Haskell2010
|
|
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/joshuaclayton/unused
|