commercialhaskell/stack

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

Open

#2.262 aberto em 9 de jun. de 2016

Ver no GitHub
 (7 comments) (1 reaction) (1 assignee)Haskell (848 forks)batch import
component: releaseshelp wantedtype: enhancement

Métricas do repositório

Stars
 (4.060 stars)
Métricas de merge de PR
 (Mesclagem média 17d 10h) (6 fundiu PRs em 30d)

Description

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.

Guia do colaborador