[Haskell-cafe] ANN: stack-

Emanuel Borsboom manny at fpcomplete.com
Wed Aug 12 00:50:57 UTC 2015

New release of stack, a build tool.

See README <https://github.com/commercialhaskell/stack#how-to-install> for
installation and upgrade instructions.

Note: on Windows, this version does some trickery with code pages to work
around issues with GHC’s output. If you run into any trouble, please report
it (see issue #757 <https://github.com/commercialhaskell/stack/issues/757>).

Major changes:

   - Overhauled target parsing, added --test and --bench options #651
      - For details, see Build commands Wiki page
   - Detect when a module is compiled but not listed in the cabal file (#32
      - A warning is displayed for any modules that should be added to
      other-modules in the .cabal file
      - These modules are taken into account when determining whether a
      package needs to be built
   - Respect TemplateHaskell addDependentFile dependency changes (#105
      - TH dependent files are taken into account when determining whether
      a package needs to be built.

Other enhancements:

   - Set the HASKELL_DIST_DIR environment variable #524
   - Track build status of tests and benchmarks #525
   - --no-run-tests #517
   - Targets outside of root dir don’t build #366
   - Upper limit on number of flag combinations to test #543
   - Fuzzy matching support to give better error messages for close version
   numbers #504 <https://github.com/commercialhaskell/stack/issues/504>
   - --local-bin-path global option. Use to change where binaries get
   placed on a --copy-bins #342
   - Custom snapshots #111
   - —force-dirty flag: Force treating all local packages as having dirty
   files (useful for cases where stack can’t detect a file change)
   - GHC error messages: display file paths as absolute instead of relative
   for better editor integration
   - Add the --copy-bins option #569
   - Give warnings on unexpected config keys #48
   - Remove Docker pass-host option
   - Don’t require cabal-install to upload #313
   - Generate indexes for all deps and all installed snapshot packages #143
   - Provide --resolver global option #645
      - Also supports --resolver nightly, --resolver lts, and --resolver
   - Make stack build --flag error when flag or package is unknown #617
   - Preserve file permissions when unpacking sources #666
   - stack build etc work outside of a project
   - list-dependencies command #638
   - --upgrade-cabal option to stack setup #174
   - --exec option #651
   - --only-dependencies implemented correctly #387

Bug fixes:

   - Extensions from the other-extensions field no longer enabled by
   default #449 <https://github.com/commercialhaskell/stack/issues/449>
   - Fix: haddock forces rebuild of empty packages #452
   - Don’t copy over executables excluded by component selection #605
   - Fix: stack fails on Windows with git package in stack.yaml and no git
   binary on path #712
   - Fixed GHCi issue: Specifying explicit package versions (#678)
   - Fixed GHCi issue: Specifying -odir and -hidir as .stack-work/odir
   - Fixed GHCi issue: Specifying A instead of A.ext for modules (#498)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150811/88c1389b/attachment.html>

More information about the Haskell-Cafe mailing list