mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-10 05:39:31 +03:00
19 lines
1.2 KiB
Plaintext
19 lines
1.2 KiB
Plaintext
# 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 --stack-yaml ../stack8.2.yaml ghc hledger-balance-as-budget.hs >/dev/null || true
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc hledger-check-fancyassertions.hs >/dev/null || true
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc hledger-check-tagfiles.hs >/dev/null || true
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc hledger-combine-balances.hs >/dev/null || true
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc --package string-qq hledger-print-location.hs >/dev/null || true
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc --package string-qq hledger-smooth.hs >/dev/null || true
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc --package string-qq hledger-swap-dates.hs >/dev/null || true
|