Clarify stack command (#3614)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
9e178edb8e
commit
bf696e0ccd
@@ -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`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user