hledger/hledger-install
Simon Michael bf2e529228 install: many improvements
- 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]
2017-07-20 07:53:43 +01:00
..
hledger-install.sh install: many improvements 2017-07-20 07:53:43 +01:00
LICENSE.get-stack installer: start of an easy hledger installer script, based on stack's 2017-07-17 16:46:42 +01:00
README installer: start of an easy hledger installer script, based on stack's 2017-07-17 16:46:42 +01:00

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.)