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