[Haskell-cafe] How to disable document in .cabal file?

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Wed Jan 16 09:27:40 CET 2013


That is pretty much the way I do now. Just curious if there is another
way....


On Wed, Jan 16, 2013 at 3:57 PM, Erik Hesselink <hesselink at gmail.com> wrote:

> You could do what I do: create an alias in bash. I have in my ~/.bashrc:
>
> alias ciq='cabal install --disable-documentation
> --disable-library-profiling --disable-executable-profiling'
>
> The alias 'ciq' stands for 'cabal install quick' and disables things I
> don't need during development, but do slow down the build.
>
> Regards,
>
> Erik
>
> On Wed, Jan 16, 2013 at 3:10 AM, Magicloud Magiclouds
> <magicloud.magiclouds at gmail.com> wrote:
> > So the only way is to use param every time I build this certain project?
> > Really hoping I could disable it in project.cabal ....
> >
> >
> > On Wed, Jan 16, 2013 at 6:45 AM, Albert Y. C. Lai <trebla at vex.net>
> wrote:
> >>
> >> On 13-01-15 12:06 AM, Magicloud Magiclouds wrote:
> >>>
> >>>    I have enabled document in .cabal/config, so I could get document
> >>> every time I installed libraries or so.
> >>>    But when I compile my own applications, it also takes time on
> >>> generating non-exist documents. How to disable it just for this
> project?
> >>
> >>
> >> If "cabal install": add --disable-documentation.
> >> See also "cabal install --help".
> >>
> >> If "cabal configure" and "cabal build" etc: nothing to do, just omit
> >> "cabal haddock".
> >>
> >>
> >> _______________________________________________
> >> Haskell-Cafe mailing list
> >> Haskell-Cafe at haskell.org
> >> http://www.haskell.org/mailman/listinfo/haskell-cafe
> >
> >
> >
> >
> > --
> > 竹密岂妨流水过
> > 山高哪阻野云飞
> >
> > And for G+, please use magiclouds#gmail.com.
> >
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> >
>



-- 
竹密岂妨流水过
山高哪阻野云飞

And for G+, please use magiclouds#gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130116/17c0a08b/attachment.htm>


More information about the Haskell-Cafe mailing list