mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
17 lines
588 B
Bash
17 lines
588 B
Bash
|
# Run this script to install all hledger packages using cabal
|
||
|
# (if you prefer using cabal to stack)
|
||
|
|
||
|
# use a sandbox in this directory to avoid build problems
|
||
|
cabal sandbox init
|
||
|
|
||
|
# maybe useful for some developers..
|
||
|
cabal sandbox add-source ./hledger-lib
|
||
|
cabal sandbox add-source ./hledger
|
||
|
cabal sandbox add-source ./hledger-ui
|
||
|
cabal sandbox add-source ./hledger-web
|
||
|
cabal sandbox add-source ./hledger-api
|
||
|
|
||
|
# build and install
|
||
|
cabal install ./hledger-lib ./hledger ./hledger-ui ./hledger-web ./hledger-api \
|
||
|
&& echo "hledger executables successfully installed in ./.cabal-sandbox/bin"
|