mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 20:02:27 +03:00
5aa4c91332
A (disabled) stack build plan for GHC 7.8 is included; supporting it would need small code changes and a maintainer.
22 lines
662 B
Bash
Executable File
22 lines
662 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
|
|
|
|
# Build and install to ./cabal-sandbox-bin (or ~/.cabal/bin without a sandbox)
|
|
cabal install \
|
|
./hledger-lib \
|
|
./hledger \
|
|
./hledger-ui \
|
|
./hledger-web \
|
|
./hledger-api \
|