No description
Find a file
2015-08-17 11:01:24 -07:00
etc Remove Vagrantfile comment 2015-08-09 12:35:42 -07:00
man/man1 Add STACK_ROOT to man page 2015-07-14 14:58:47 -07:00
scripts/release release.hs: update AUR warning 2015-08-15 09:34:33 -07:00
src Fixed warning 2015-08-17 11:00:58 -07:00
test ghc-options stack.yaml config #796 2015-08-16 10:20:29 +03:00
.dockerignore Add code to create signed debian packages & host them on s3 2015-06-01 15:10:28 -10:00
.gitignore Stack can create docker image(s) from your executable(s) 2015-07-14 09:17:17 -10:00
.travis-setup.sh Use external ~/.cabal/config creation script 2015-07-31 23:04:56 +03:00
.travis.yml Use external ~/.cabal/config creation script 2015-07-31 23:04:56 +03:00
ChangeLog.md Mention GHCJS in changelog 2015-08-17 09:10:12 +03:00
CONTRIBUTING.md Add Contributing Guidelines (issue #322) 2015-06-16 10:36:21 +02:00
dot-dir-locals.el Move .dir-locals.el to dot-dir-locals.el 2015-08-10 14:16:15 +02:00
LICENSE Fix cabal check warnings 2015-06-09 05:51:26 +03:00
README.md Update README.md 2015-08-12 08:30:22 -07:00
Setup.hs
stack-7.8.yaml Fixed stack-7.8.yaml on osx (and probably windows) 2015-08-17 11:01:24 -07:00
stack.cabal stack.cabal: http-client minbound 0.4.17 (#804) 2015-08-17 10:34:09 -07:00
stack.yaml Switch to LTS 3.0 2015-08-13 07:17:39 +03:00

The Haskell Tool Stack

Build Status Release

stack is a cross-platform program for developing Haskell projects. It is aimed at Haskellers both new and experienced.

It features:

  • Installing GHC automatically.
  • Installing packages needed for your project.
  • Building your project.
  • Testing your project.
  • Benchmarking your project.

How to install

Downloads are available by operating system:

Upgrade instructions

Note: if you are using cabal-install to install stack, you may need to pass a constraint to work around a Cabal issue: cabal install --constraint 'mono-traversable >= 0.9' stack.

How to use

Go into a Haskell project directory and run stack build. If everything is already configured, this will:

  • Download the package index.
  • Download and install all necessary dependencies for the project.
  • Build and install the project.

You may be prompted to run some of the following along the way:

  • stack new to create a brand new project.
  • stack init to create a stack configuration file for an existing project. stack will figure out what Stackage release (LTS or nightly) is appropriate for the dependencies.
  • stack setup to download and install the correct GHC version. (For information on installation paths, please use the stack path command.)

If you just want to install an executable using stack, then all you have to do is stack install <package-name>.

Run stack for a complete list of commands.

Architecture

A full description of the architecture is available here.

Questions, Feedback, Discussion

Why stack?

stack is a project of the Commercial Haskell group, spearheaded by FP Complete. It is designed to answer the needs of commercial Haskell users, hobbyist Haskellers, and individuals and companies thinking about starting to use Haskell. It is intended to be easy to use for newcomers, while providing the customizability and power experienced developers need.

While stack itself has been around since June of 2015, it is based on codebases used by FP Complete for its corporate customers and internally for years prior. stack is a refresh of that codebase combined with other open source efforts like stackage-cli to meet the needs of users everywhere.

A large impetus for the work on stack was a large survey of people interested in Haskell, which rated build issues as a major concern. The stack team hopes that stack can address these concerns.