commercialhaskell/stack
在 GitHub 查看Allow --pvp-bounds to use multiple stack.yaml configurations
Open
#2,262 创建于 2016年6月9日
component: releaseshelp wantedtype: enhancement
仓库指标
- Star
- (4,060 star)
- PR 合并指标
- (平均合并 17天 10小时) (30 天内合并 6 个 PR)
描述
This is split off from https://github.com/commercialhaskell/stack/issues/1568, which focused on having multiple configurations in a single stack.yaml file.
As @sjakobi suggests, it's quite reasonable to still have a --pvp-bounds flag which uses multiple configs:
How about specifying the extra
stack.yamls to consider with an optional flag to--pvp-bounds, e.g.--also-considering? Example command:stack sdist --pvp-bounds both --also-considering stack-7.8.yaml stack-8.0.yaml.
Folks would probably want to automate this via a Makefile or script.