stack
Tool for managing Haskell projects.
stack new {package_name} {template_name}
stack build
- Run tests inside a package:
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}"
- Run a program and pass an argument to it:
stack exec {program_name} -- {argument}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).