<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">&lt;<a href="mailto:hesselink@gmail.com" target="_blank">hesselink@gmail.com</a>&gt;</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=&#39;cabal install --disable-documentation<br>
--disable-library-profiling --disable-executable-profiling&#39;<br>
<br>
The alias &#39;ciq&#39; stands for &#39;cabal install quick&#39; and disables things I<br>
don&#39;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>
&lt;<a href="mailto:magicloud.magiclouds@gmail.com">magicloud.magiclouds@gmail.com</a>&gt; wrote:<br>
&gt; So the only way is to use param every time I build this certain project?<br>
&gt; Really hoping I could disable it in project.cabal ....<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Jan 16, 2013 at 6:45 AM, Albert Y. C. Lai &lt;<a href="mailto:trebla@vex.net">trebla@vex.net</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 13-01-15 12:06 AM, Magicloud Magiclouds wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    I have enabled document in .cabal/config, so I could get document<br>
&gt;&gt;&gt; every time I installed libraries or so.<br>
&gt;&gt;&gt;    But when I compile my own applications, it also takes time on<br>
&gt;&gt;&gt; generating non-exist documents. How to disable it just for this project?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; If &quot;cabal install&quot;: add --disable-documentation.<br>
&gt;&gt; See also &quot;cabal install --help&quot;.<br>
&gt;&gt;<br>
&gt;&gt; If &quot;cabal configure&quot; and &quot;cabal build&quot; etc: nothing to do, just omit<br>
&gt;&gt; &quot;cabal haddock&quot;.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Haskell-Cafe mailing list<br>
&gt;&gt; <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
&gt;&gt; <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; 竹密岂妨流水过<br>
&gt; 山高哪阻野云飞<br>
&gt;<br>
&gt; And for G+, please use magiclouds#<a href="http://gmail.com" target="_blank">gmail.com</a>.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Haskell-Cafe mailing list<br>
&gt; <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
&gt;<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>