Skip to content

Commit 41497b9

Browse files
Document CABAL_TEST_OPTIONS
1 parent 342c558 commit 41497b9

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ convenient when running interactively, while environment variables are more
264264
convenient when running on a CI system.
265265

266266
```
267-
$ packcheck.sh --help
267+
$ ./packcheck.sh --help
268268
269269
--------------------------------------------------
270270
Usage
@@ -339,9 +339,10 @@ cabal options
339339
--------------------------------------------------
340340
CABAL_REINIT_CONFIG : [y] DESTRUCTIVE! Remove old config to avoid incompatibility issues
341341
CABAL_PROJECT : Alternative cabal project file, path relative to project root
342-
CABAL_BUILD_OPTIONS : ADDITIONAL cabal v2-build options to append to defaults
342+
CABAL_BUILD_OPTIONS : ADDITIONAL cabal build options to append to defaults
343+
CABAL_TEST_OPTIONS : ADDITIONAL cabal test options to append to defaults
343344
CABAL_DISABLE_DEPS : [y] Do not install dependencies, do not do cabal update
344-
CABAL_BUILD_TARGETS : cabal v2-build targets, default is 'all'
345+
CABAL_BUILD_TARGETS : cabal build targets, default is 'all'
345346
CABAL_CHECK_RELAX : [y] Do not fail if cabal check fails on the package.
346347
CABAL_HACKAGE_MIRROR : DESTRUCTIVE! Specify an alternative mirror, modifies the cabal config file.
347348

packcheck.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,9 +406,10 @@ show_help() {
406406
help_envvar CABAL_REINIT_CONFIG "[y] DESTRUCTIVE! Remove old config to avoid incompatibility issues"
407407
help_envvar CABAL_PROJECT "Alternative cabal project file, path relative to project root"
408408
#help_envvar CABAL_USE_STACK_SDIST "[y] Use stack sdist (to use --pvp-bounds)"
409-
help_envvar CABAL_BUILD_OPTIONS "ADDITIONAL cabal v2-build options to append to defaults"
409+
help_envvar CABAL_BUILD_OPTIONS "ADDITIONAL cabal build options to append to defaults"
410+
help_envvar CABAL_TEST_OPTIONS "ADDITIONAL cabal test options to append to defaults"
410411
help_envvar CABAL_DISABLE_DEPS "[y] Do not install dependencies, do not do cabal update"
411-
help_envvar CABAL_BUILD_TARGETS "cabal v2-build targets, default is 'all'"
412+
help_envvar CABAL_BUILD_TARGETS "cabal build targets, default is 'all'"
412413
help_envvar CABAL_CHECK_RELAX "[y] Do not fail if cabal check fails on the package."
413414
help_envvar CABAL_HACKAGE_MIRROR "DESTRUCTIVE! Specify an alternative mirror, modifies the cabal config file."
414415

0 commit comments

Comments
 (0)