commercialhaskell/stack

Allow --pvp-bounds to use multiple stack.yaml configurations

开放

#2,262 创建于 2016年6月9日

 (7 条评论) (1 个反应) (1 位负责人)Haskell (848 个派生)batch import
component: releaseshelp wantedtype: enhancement

仓库指标

星标
 (4,060 个星标)
PR 合并指标
 (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.

贡献者指南