commands.sh

stack

all

Manage Haskell projects.

More info →

Examples (6)

Create a new package

stack new package template

Compile a package

stack build

Run tests inside a package

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 -- argument
made by @shridhargupta | data from tldr-pages