@@ -434,41 +434,61 @@ build:
434
434
# incorrectly formatted. This could also affect scripts which use Stack.
435
435
haddock : false
436
436
haddock-arguments :
437
- haddock-args : [] # Additional arguments passed to haddock, --haddock-arguments
437
+
438
+ # Additional arguments passed to haddock. The corresponding command line
439
+ # option is --haddock-arguments. Example of use:
440
+ #
438
441
# haddock-args:
439
442
# - "--css=/home/user/my-css"
440
- open-haddocks : false # --open
441
- haddock-deps : false # if unspecified, defaults to true if haddock is set
442
- haddock-for-hackage : false # if specified, implies haddock-internal: false and
443
- # haddock-hyperlink-source: true
444
- haddock-internal : false # ignored, if haddock-for-hackage: true
445
- haddock-hyperlink-source : true # ignored, if haddock-for-hackage: true
443
+ haddock-args : []
444
+
445
+ # The corresponding command line flag is --[no-]open.
446
+ open-haddocks : false
447
+
448
+ # If Stack is configured to build Haddock documentation, defaults to true.
449
+ haddock-deps : false
450
+
451
+ # If specified, implies haddock-internal: false and
452
+ # haddock-hyperlink-source: true. Since Stack UNRELEASED.
453
+ haddock-for-hackage : false
454
+
455
+ # The configuration is ignored, if haddock-for-hackage: true.
456
+ haddock-internal : false
457
+
458
+ # The configuration is ignored, if haddock-for-hackage: true.
459
+ haddock-hyperlink-source : true
446
460
447
461
# These are inadvisable to use in your global configuration, as they make the
448
462
# Stack build command line behave quite differently.
449
463
test : false
450
464
test-arguments :
451
465
rerun-tests : true # Rerun successful tests
452
- additional-args : [] # --test-arguments
466
+
467
+ # The corresponding command line option is --test-arguments. Example of use:
468
+ #
453
469
# additional-args:
454
470
# - "--fail-fast"
471
+ additional-args : []
455
472
coverage : false
456
473
no-run-tests : false
457
474
bench : false
458
475
benchmark-opts :
459
- benchmark-arguments : " "
476
+
477
+ # Example of use:
478
+ #
460
479
# benchmark-arguments: "--csv bench.csv"
480
+ benchmark-arguments : " "
461
481
no-run-benchmarks : false
462
482
force-dirty : false
463
483
reconfigure : false
464
484
cabal-verbose : false
465
485
split-objs : false
466
486
467
- # Since 1.8. Starting with 2.0, the default is true
487
+ # Since Stack 1.8. Starting with Stack 2.0, the default is true
468
488
interleaved-output : true
469
- # Since 2.13.1. Available options are none, count-only, capped and full.
489
+ # Since Stack 2.13.1. Available options are none, count-only, capped and full.
470
490
progress-bar : capped
471
- # Since 1.10.
491
+ # Since Stack 1.10.
472
492
ddump-dir : " "
473
493
~~~
474
494
0 commit comments