Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
Khan Thompson 8a6d98739e Naive implementation that (only just) works 7 роки тому
etc Add more build dependencies (closes #309) and remove gnupg2 (closes #294) 7 роки тому
src Naive implementation that (only just) works 7 роки тому
test/package-dump Initial package dump parsing #166 7 роки тому
.dir-locals.el Update .dir-locals.el/.ghci for stack exec ghci 7 роки тому
.dockerignore Add code to create signed debian packages & host them on s3 7 роки тому
.ghci Update .ghci 7 роки тому
.gitignore .gitignore: add .docker-sandbox/ 7 роки тому
.travis.yml Install cpphs 7 роки тому
CONTRIBUTING.md Add Contributing Guidelines (issue #322) 7 роки тому
ChangeLog.md --resolver (closes #224) 7 роки тому
LICENSE Fix cabal check warnings 7 роки тому
Makefile use the new s3 bucket location 7 роки тому
README.md Update questions section with mailing list 7 роки тому
Setup.hs First commit 7 роки тому
stack.cabal Naive implementation that (only just) works 7 роки тому
stack.yaml 'docker pull' subcommand 7 роки тому

README.md

The Haskell Tool Stack

Build Status

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:

How to use

Go into a Haskell project directory and run stack build. This will do the following:

  • Automatically create a stack configuration file in the current directory.
  • Figure out what Stackage release (LTS or nightly) is appropriate for the dependencies.
  • Download and install GHC.
  • Download the package index.
  • Download and install all necessary dependencies for the project.
  • Build and install the project.

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.