stack

stack

TLDR

Create a new package

$ stack new [package_name] [template_name]
copy

Compile a package

$ stack build
copy

Run tests inside a package

$ stack test
copy

Compile a project and re-compile every time a file changes

$ stack build --file-watch
copy

Compile a project and execute a command after compilation

$ stack build --exec "[command]"
copy

Run a program and pass an argument to it

$ stack exec [program_name] -- [argument]
copy

Copied to clipboard
free 100$ digital ocean credit