hledger/bin/compile.sh

10 lines
311 B
Bash
Executable File

#!/bin/sh
cd "$(dirname "$0")"
echo "building dependencies"
stack build hledger
stack install Chart Chart-diagrams colour # additional deps for hledger-chart
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)'