2020-12-28 23:44:53 +03:00
|
|
|
# Functional tests for the add-on scripts in this directory.
|
2021-01-12 23:09:02 +03:00
|
|
|
# Keep synced: compile.sh, scripts*.test, hledger-*.hs ...
|
2020-12-28 23:44:53 +03:00
|
|
|
|
2021-01-12 22:47:57 +03:00
|
|
|
# Check that these ones still compile with this version of hledger.
|
2020-12-28 23:44:53 +03:00
|
|
|
# stdout and exit code are ignored for cleaner failure output.
|
2021-01-12 22:47:57 +03:00
|
|
|
#
|
2021-01-12 23:09:02 +03:00
|
|
|
# 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).
|
2021-01-12 22:47:57 +03:00
|
|
|
#
|
2020-12-28 23:44:53 +03:00
|
|
|
# $ ./compile.sh >/dev/null
|
2021-01-12 23:09:02 +03:00
|
|
|
$ 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
|
2021-01-12 23:24:08 +03:00
|
|
|
$ 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
|