stack: add exec command (#1816)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
bc22384913
commit
a461957625
@@ -25,3 +25,7 @@
|
|||||||
- Compile a project and execute a command after compilation:
|
- Compile a project and execute a command after compilation:
|
||||||
|
|
||||||
`stack build --exec "{{command}}"`
|
`stack build --exec "{{command}}"`
|
||||||
|
|
||||||
|
- Run a program and pass an argument to it:
|
||||||
|
|
||||||
|
`stack exec {{program_name}} -- {{argument}}`
|
||||||
|
Reference in New Issue
Block a user