hledger/bin/compile.sh
Simon Michael 5e4673bd1f bin: chart: rename script, skip deps to avoid breaking func tests
hledger-chart's deps are not currently GHC 8.2 compatible
2017-09-11 18:36:20 -07:00

12 lines
429 B
Bash
Executable File

#!/bin/sh
# Run this script (or "make addons") to compile all addons in this directory.
cd "$(dirname "$0")"
echo "building dependencies"
stack build hledger
# additional deps needed by addons
stack install Diff here #Chart Chart-diagrams colour
echo "building add-on commands"
for f in hledger-*.hs; do stack ghc -- -Wall -Werror $f; done
echo "add-on commands available:"
ls -F hledger-* | grep -vE '\.(hs|hi|o|dyn_hi|dyn_o)'