commercialhaskell/stack

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

Open

#2,262 建立於 2016年6月9日

在 GitHub 查看
 (7 留言) (1 反應) (1 負責人)Haskell (848 fork)batch import
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.

貢獻者指南