Guess the package name based on the given root directory.
Modulecabal-install-3.12.1.0Haskell2010
Distribution.Client.Init.NonInteractive.Heuristics
Heuristics for creating initial cabal files.
- 11 values
- Packagecabal-install-3.12.1.0
- Exports11
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceHeuristics.hs
Guess the main file, returns a default value if none is found.
Try to guess the license from an already existing LICENSE file in
the package directory, comparing the file contents with the ones
listed in Licenses.hs, for now it only returns a default value.
Guess author and email using git configuration options.
Juggling characters around to guess the desired cabal version based on the system's cabal version.
Guess the language specification based on the GHC version
Try to guess the package type from the files in the package directory, looking for unique characteristics from each type, defaults to Executable.
Try to guess the source directories, using a default value as fallback.
Try to guess the application directories from the package directory, using a default value as fallback.