mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:05:59 +02:00
Clarify stack command (#3614)
This commit is contained in:
parent
9e178edb8e
commit
bf696e0ccd
1 changed files with 4 additions and 8 deletions
|
@ -3,19 +3,15 @@
|
|||
> Tool for managing Haskell projects.
|
||||
> More information: <https://github.com/commercialhaskell/stack>.
|
||||
|
||||
- Create a new project:
|
||||
- Create a new package:
|
||||
|
||||
`stack new {{project_name}}`
|
||||
`stack new {{package_name}} {{template_name}}`
|
||||
|
||||
- Install all packages needed by a project:
|
||||
|
||||
`stack install`
|
||||
|
||||
- Compile a project:
|
||||
- Compile a package:
|
||||
|
||||
`stack build`
|
||||
|
||||
- Run tests inside a project:
|
||||
- Run tests inside a package:
|
||||
|
||||
`stack test`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue