mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-27 04:13:11 +03:00
25 lines
746 B
Bash
Executable File
25 lines
746 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Install all hledger packages using cabal (if you prefer it to stack).
|
|
# cabal.project may be a newer way.
|
|
|
|
# Make a local sandbox - optional, recommended for reliable installs
|
|
cabal sandbox init
|
|
|
|
# Tell sandbox about the local packages, recommended for 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
|
|
|
|
# Traditional pre-ceremony to propitiate the install gods
|
|
cabal install alex happy
|
|
|
|
# Build and install to ./cabal-sandbox-bin (or ~/.cabal/bin without a sandbox)
|
|
cabal install \
|
|
./hledger-lib \
|
|
./hledger \
|
|
./hledger-ui \
|
|
./hledger-web \
|
|
./hledger-api \
|