title |
---|
Get involved |
- For general comments, feedback and support, please post to the Haskell Community forum.
- For bugs, issues, or requests, please open an issue.
- When using Stack Overflow, please use the haskell-stack tag.
A guide is provided to help potential contributors to the Stack project.
If you have already installed a version of Stack and the Git application the followings steps should get you started with building Stack from source with Stack:
-
Clone the
stack
repository from GitHub with the command:git clone https://github.com/commercialhaskell/stack.git
-
Change the current working directory to the cloned
stack
directory with the command:cd stack
-
Build the
stack
executable using a preexisting installation of Stack with the command:stack build
-
Once the
stack
executable has been built, check its version with the command:stack exec -- stack --version
Make sure the version is the latest one.
-
In the GitHub repository's issue tracker, look for issues tagged with newcomer friendly and awaiting pull request labels.
If you need to check your changes quickly command:
stack repl
and then, at the REPL's prompt, command:
:main --stack-root=<path_to_root> --stack-yaml=<path_to_stack.yaml> <COMMAND>
This allows you to set a special Stack root (instead of the default Stack root)
and to target your commands at a particular stack.yaml
file instead of the one
found in the current directory.