mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 11:52:43 +03:00
bf2e529228
- install stack to $HOME/.local/bin for easier upgrade and passwordlessness - install missing and out-of-date official and third party hledger tools - try installing each tool individually - try cabal install if cabal is installed and stack isn't - always specify the resolver for stack install - be fairly quiet by default, replace --quiet with --verbose - --status shows installation status without doing anything - --version shows installer version - cleanup [ci skip] |
||
---|---|---|
.. | ||
hledger-install.sh | ||
LICENSE.get-stack | ||
README |
A lot of specialised knowledge is still needed to be sure of successfully building and installing hledger in all cases. For example: running stack setup if you don't have a suitable version of ghc.. installing with your current global resolver to minimise rebuilding.. unless it's too old, in which case use the (appropriate) latest resolver.. always use ghc 8.0.2+ on osx sierra.. don't try to install hledger-ui on windows.. etc. This installer script tries to automate the installation of stack and then hledger, as reliably and quickly as possible, on POSIX systems. (Windows systems have binaries and don't need this.)