stack
Manage Haskell projects. More information: https://docs.haskellstack.org/en/stable/commands/.
- Create a new package:
stack new
- Compile a package:
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 ""
- Run a program and pass an argument to it:
stack exec --
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
