hledger/bin/scripts.test

19 lines
1002 B
Plaintext
Raw Normal View History

# Functional tests for the add-on scripts in this directory.
# Keep synced: compile.sh, scripts*.test, hledger-*.hs ...
# Check that these ones still compile with this version of hledger.
# stdout and exit code are ignored for cleaner failure output.
#
# The tests below are hard coded to one GHC version.
# See also scriptsX.Y.test, used by our CI workflows which run other GHC versions
# (so they don't install and build for a whole extra GHC version).
#
# $ ./compile.sh >/dev/null
$ stack ghc hledger-balance-as-budget.hs >/dev/null || true
$ stack ghc hledger-check-fancyassertions.hs >/dev/null || true
$ stack ghc hledger-check-tagfiles.hs >/dev/null || true
$ stack ghc hledger-combine-balances.hs >/dev/null || true
$ stack ghc --package string-qq hledger-print-location.hs >/dev/null || true
$ stack ghc --package string-qq hledger-smooth.hs >/dev/null || true
$ stack ghc --package string-qq hledger-swap-dates.hs >/dev/null || true