unused/unused.cabal
Joshua Clayton f618d8a796 Use .gitignore to determine files for fingerprinting a project
Why?
====

Because a .gitignore file captures a fair number of project-specific
directories and files to ignore, we can use this list to reduce the
number of files to look at when determining a fingerprint for a project.

Because the fingerprint should be based on files we care about changing,
the project-specific .gitignore is a great place to start.

This drastically reduces fingerprint timing - for larger projects, or
projects with a massive number of files (e.g. anything doing anything
significant with NPM and a front-end framework), this will help make
caching usable. For normal projects, this cuts fingerprint
calculation to 10%-20% of what it was previously.

Closes #38
2016-05-26 17:19:35 -04:00

99 lines
3.6 KiB
Plaintext

name: unused
version: 0.2.0.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.Cache.FindArgsFromIgnoredPaths
, Unused.TagsSource
, Unused.CLI
, Unused.CLI.Search
, Unused.CLI.SearchError
, Unused.CLI.MissingTagsFileError
, 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