构建haddocks时如何排除依赖关系? [英] How to exclude dependencies when building haddocks?
本文介绍了构建haddocks时如何排除依赖关系?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么方法可以为特定软件包构建haddock文档吗?我正在尝试仅为我的程序包/应用程序构建haddocks,但以下命令似乎也针对所有依赖项进行了此操作:
Is there any way to build haddock docs for specific packages? I'm trying to build haddocks for my package/app alone, but the following command seems to be doing this for all dependencies, as well:
stack haddock webservice
(其中webservice
是我的软件包/应用程序的名称)
(where webservice
is the name of my package/app)
推荐答案
您要查找的标志是--no-haddock-deps
,如
stack haddock --no-haddock-deps webservice
这篇关于构建haddocks时如何排除依赖关系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文