On 16 January 2013 13:10, Magicloud Magiclouds
<[email protected]> 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 ....

Well, it's an option for the cabal-install tool, not for the Cabal build system.

Note that you don't need to use this parameter every time you build
your project, only every time you configure it (so if you don't change
the .cabal file much and just tend to build it as you hack on it you
don't need the extra params).

>
>
> On Wed, Jan 16, 2013 at 6:45 AM, Albert Y. C. Lai <[email protected]> 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
>> [email protected]
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
>
>
> --
> 竹密岂妨流水过
> 山高哪阻野云飞
>
> And for G+, please use magiclouds#gmail.com.
>
> _______________________________________________
> Haskell-Cafe mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
Ivan Lazar Miljenovic
[email protected]
http://IvanMiljenovic.wordpress.com

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to