Created
March 31, 2015 08:48
-
-
Save yfyf/4c953ebbf72aef369d1f to your computer and use it in GitHub Desktop.
Useful additions to ~/.cabal/config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Prevent working in non-sandboxed envs: | |
require-sandbox: True | |
-- Always enable test suite installation/building | |
tests: True | |
-- Always build documentation | |
documentation: True | |
-- Run (# of CPUs) build/fetch jobs in parallel | |
jobs: $ncpus | |
-- A few more options you might want to consider: | |
-- library-coverage: True | |
-- library-profiling: True | |
-- Haddock (i.e. doc) settings | |
haddock | |
-- Create a hoogle index of installed packages | |
hoogle: True | |
-- Hyperlink generated doc sections to source-file | |
-- parts (!) | |
hyperlink-source: True | |
-- You can also try to enable building docs for | |
-- executables, but it is known to interact badly | |
-- with `--hyperlink-source': | |
-- https://github.com/haskell/cabal/issues/1919 | |
-- executables: True | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment