mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 18:46:01 +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.
|
> Tool for managing Haskell projects.
|
||||||
> More information: <https://github.com/commercialhaskell/stack>.
|
> 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:
|
- Compile a package:
|
||||||
|
|
||||||
`stack install`
|
|
||||||
|
|
||||||
- Compile a project:
|
|
||||||
|
|
||||||
`stack build`
|
`stack build`
|
||||||
|
|
||||||
- Run tests inside a project:
|
- Run tests inside a package:
|
||||||
|
|
||||||
`stack test`
|
`stack test`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue