mirror of https://github.com/CrimsonTome/tldr.git
435 B
435 B
stack
Tool for managing Haskell projects.
- Create a new project:
stack new {{project_name}}
- Install all packages needed by a project:
stack install
- Compile a project:
stack build
- Run tests inside a project:
stack test
- Compile a project and re-compile every time a file changes:
stack build --file-watch
- Compile a project and execute a command after compilation:
stack build --exec "{{command}}"