| Copyright | (c) 2020 Kowainik |
|---|---|
| License | MPL-2.0 |
| Maintainer | Kowainik <xrom.xkov@gmail.com> |
| Safe Haskell | None |
| Language | Haskell2010 |
Autopack
Description
Custom Setup to automate package modules discovery
Synopsis
- defaultMainAutoModules :: IO ()
Documentation
defaultMainAutoModules :: IO () Source #
The main function that should be used in the custom Setup.hs files
in the following way:
import Autopack (defaultMainAutoModules) main ::IO() main =defaultMainAutoModules
This function uses custom hooks with defaultMainWithHooks that
discover all Haskell modules in the hs-source-dirs directories and implies
this list into exposed-modules of the library.