;doc: download: --verbosity fix; suggest latest applicable snapshot

[ci skip]
This commit is contained in:
Simon Michael 2019-07-26 10:59:05 +01:00
parent 897ea271ff
commit de1e4a40cd

View File

@ -117,13 +117,11 @@ Or, you can install stack or cabal yourself and deal with them directly.
|--------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| | |
| [hledger-install.sh]<br><small>*Linux,&nbsp;Mac,&nbsp;WSL*</small> | <span style="font-size:medium;">**`curl -s https://raw.githubusercontent.com/simonmichael/hledger/master/hledger-install/hledger-install.sh -O`**<br>**`less hledger-install.sh`**&nbsp;&nbsp;&nbsp;&nbsp;*# satisfy yourself that the script is safe*<br>**`bash hledger-install.sh`**&nbsp;&nbsp;&nbsp;&nbsp;*# runs stack or cabal, installing stack if needed*</span> |
| [stack]<br><small>*Linux,&nbsp;Mac,&nbsp;Windows*</small> | <span style="font-size:medium;">**`stack install --resolver=nightly-2019-03-21 hledger hledger-web hledger-ui`**</span>&nbsp;&nbsp;&nbsp;&nbsp;*# installs GHC if needed.* |
| [stack]<br><small>*Linux,&nbsp;Mac,&nbsp;Windows*</small> | <span style="font-size:medium;">**`stack install --resolver=nightly-2019-05-11 hledger hledger-web hledger-ui --verbosity=error`**</span>&nbsp;&nbsp;&nbsp;&nbsp;*# installs GHC if needed.* |
| [cabal]<br><small>*Linux,&nbsp;Mac,&nbsp;Windows*</small> | <span style="font-size:medium;">**`cabal v2-update && cabal v2-install hledger-1.14.2 hledger-web-1.14.1 hledger-ui-1.14.2`**</span> |
On Windows, hledger-ui is not available and should be omitted from the commands above (except, it probably works in WSL).
For less verbose output, you can add `--verbosity error`.
#### Resource usage
Building Haskell programs typically involves downloading and compiling and