On Tue, Aug 30, 2016 at 09:20:00PM -0700, Dan Burton wrote: > I would like for there to be a flag that generates a minimal > stack.yaml: > * remove all comments > * remove all fields that are explicitly set to values that are the > default anyways (e.g. empty flags, empty extra-defs) > > I'd like this flag both for `stack new` as well as `stack init`. I > think leaving the verbose default is fine, but my personal > preference is to only put something in stack.yaml if it deviates > from the default.
+1 But I'd also rather have the default yaml be bare-bones, since in the lifetime of my usage of stack, I'll only appreciate the verbose yaml once[1]. It would be great if there was maybe just a link to an example yaml one could download or copy if desired. I'd happily take a 1-2 line comment in my "minimal" yaml if it meant it could be the default format. [1] Harendra posits this isn't the case, and that sometimes even experienced users can benefit from the reference. I'd much much rather have a link to http://haskellstack.org/ as my "reference", rather than a bunch of different versions of out-of-date "references" scattered across my projects. -- You received this message because you are subscribed to the Google Groups "haskell-stack" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/20160902141642.GC18824%40fuzzbomb. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Digital signature
