hledger/bin/compile.sh
2017-11-01 08:05:17 -07:00

10 lines
341 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