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.

貢獻者指南