hledger/bin/compile.sh

11 lines
383 B
Bash
Raw Normal View History

2017-01-08 21:24:33 +03:00
#!/bin/sh
# helper script, compiles all addons in this directory
2017-01-08 21:24:33 +03:00
cd "$(dirname "$0")"
echo "building dependencies"
stack build hledger
stack install Chart Chart-diagrams colour here # additional deps needed by addons
2017-01-08 21:24:33 +03:00
echo "building add-on commands"
for f in hledger-*.hs; do stack ghc $f; done
echo "add-on commands available:"
ls -F hledger-* | grep -vE '\.(hs|hi|o|dyn_hi|dyn_o)'