hledger/bin/compile.sh

10 lines
341 B
Bash
Raw Normal View History

2017-01-08 21:24:33 +03:00
#!/bin/sh
2017-07-05 20:27:44 +03:00
# Run this script (or "make addons") to compile all addons in this directory.
2017-01-08 21:24:33 +03:00
cd "$(dirname "$0")"
echo "building dependencies"
stack build hledger
# additional deps needed by addons
stack install Diff here #Chart Chart-diagrams colour
2017-01-08 21:24:33 +03:00
echo "building add-on commands"
for f in hledger-*.hs; do stack ghc -- -Wall -Werror $f; done