<div dir="ltr">That is pretty much the way I do now. Just curious if there is another way....</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 16, 2013 at 3:57 PM, Erik Hesselink <span dir="ltr"><<a href="mailto:hesselink@gmail.com" target="_blank">hesselink@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You could do what I do: create an alias in bash. I have in my ~/.bashrc:<br>
<br>
alias ciq='cabal install --disable-documentation<br>
--disable-library-profiling --disable-executable-profiling'<br>
<br>
The alias 'ciq' stands for 'cabal install quick' and disables things I<br>
don't need during development, but do slow down the build.<br>
<br>
Regards,<br>
<br>
Erik<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Jan 16, 2013 at 3:10 AM, Magicloud Magiclouds<br>
<<a href="mailto:magicloud.magiclouds@gmail.com">magicloud.magiclouds@gmail.com</a>> wrote:<br>
> So the only way is to use param every time I build this certain project?<br>
> Really hoping I could disable it in project.cabal ....<br>
><br>
><br>
> On Wed, Jan 16, 2013 at 6:45 AM, Albert Y. C. Lai <<a href="mailto:trebla@vex.net">trebla@vex.net</a>> wrote:<br>
>><br>
>> On 13-01-15 12:06 AM, Magicloud Magiclouds wrote:<br>
>>><br>
>>> I have enabled document in .cabal/config, so I could get document<br>
>>> every time I installed libraries or so.<br>
>>> But when I compile my own applications, it also takes time on<br>
>>> generating non-exist documents. How to disable it just for this project?<br>
>><br>
>><br>
>> If "cabal install": add --disable-documentation.<br>
>> See also "cabal install --help".<br>
>><br>
>> If "cabal configure" and "cabal build" etc: nothing to do, just omit<br>
>> "cabal haddock".<br>
>><br>
>><br>
>> _______________________________________________<br>
>> Haskell-Cafe mailing list<br>
>> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
>> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
><br>
><br>
><br>
><br>
> --<br>
> 竹密岂妨流水过<br>
> 山高哪阻野云飞<br>
><br>
> And for G+, please use magiclouds#<a href="http://gmail.com" target="_blank">gmail.com</a>.<br>
><br>
> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>竹密岂妨流水过<br>山高哪阻野云飞<br><br>And for G+, please use magiclouds#<a href="http://gmail.com" target="_blank">gmail.com</a>.
</div>