DUNE-RULES(1) Dune Manual DUNE-RULES(1) (NAME) dune-rules - (SYNOPSIS) dune rules [OPTION] [TARGET] (DESCRIPTION) Dune . . --deps . S-expression S-expression . S-expression : ((deps ()) (targets ()) (context ) (action )) (context) . . . --format=json JSON . (OPTIONS) --action-stderr-on-success=VAL --action-stdout-on-success . (monorepos) --action-stdout-on-success=swallow --action-stderr-on-success=must-be-empty. <<>> . --action-stdout-on-success=VAL . : print Dune swallow must-be-empty . must-be-empty Dune . print . --build-info . --deps . --display-separate-messages . --error-reporting=VAL (=deterministic) . early . deterministic . twice : . -f, --force (aliases) . --file-watcher=VAL (=automatic) . automatic dune . manual dune . --format=FORMAT (=sexp) FORMAT sexp json . -o FILE stdout. --passive-watch-mode [--watch] RPC . -r, --recursive (transitive dependencies) . --sandbox=VAL ( DUNE_SANDBOX) (sandboxing). . : none symlink copy hardlink. --stop-on-first-error . -w, --watch . --wait-for-filesystem-clock Dune (digest) . () . Dune . Dune . Dune . (COMMON OPTIONS) . --always-show-command-line dune . --auto-promote (promote). dune promote . --build-dir=FILE ( DUNE_BUILD_DIR) . _build . --cache=VAL ( DUNE_CACHE) Dune ( disabled enabled-except-user-rules enabled). `enabled-except-user-rules' . --cache-check-probability=VAL ( DUNE_CACHE_CHECK_PROBABILITY) Dune. : . . --cache-storage-mode=VAL ( DUNE_CACHE_STORAGE_MODE) Dune ( auto hardlink copy). `hardlink' . --config-file=FILE . --debug-backtraces (backtrace) . --debug-dependency-path . --debug-package-logs ( DUNE_DEBUG_PACKAGE_LOGS) . --default-target=TARGET (=@@default) dune build . --diff-command=VAL ( DUNE_DIFF_COMMAND) . - . --disable-promotion ( DUNE_DISABLE_PROMOTION) . --display=MODE Dune. dune-config(5) . : progress verbose short quiet tui. --dump-gc-stats=FILE (GC) . --help[=FMT] (=auto) FMT. FMT auto pager groff plain . auto TERM dumb pager plain . --ignore-promoted-rules (mode promote) (only ...) . %{ignoring_promoted_rules} dune . --instrument-with=BACKENDS ( DUNE_INSTRUMENT_WITH) BACKENDS. BACKENDS . -j JOBS ( DUNE_JOBS) JOBS . JOBS auto () . --no-buffer dune. dune . . --no-buffer . (log) . -j 1 . --verbose . --no-config . --no-print-directory <>. --only-packages=PACKAGES (stanzas) PACKAGES . PACKAGES . dune . . .install . -p PACKAGES, --for-release-of-packages=PACKAGES () --release --pkg=disabled --only-packages PACKAGE. .opam . --pkg=VAL . (lock) . --profile=VAL ( DUNE_PROFILE) (profile) dev release. dev . --promote-install-files[=VAL] (=true) .install . --release dune (release) . --root . --ignore-promoted-rules --no-config --profile release --always-show-command-line --promote-install-files --require-dune-project-file --default-target @install. . .opam . -p -p . --require-dune-project-file[=VAL] (=true) dune-project. --root=DIR ( DUNE_ROOT) . . . --store-orig-source-dir ( DUNE_STORE_ORIG_SOURCE_DIR) dune-package. --target-exec=TOOLCHAIN=CMD ( DUNE_TARGET_EXEC) (wrapper) . : TOOLCHAIN=CMD ( 'windows=wine'). --terminal-persistence=MODE --watch. : preserve clear-on-rebuild clear-on-rebuild-and-flush-history. --trace-file=FILE (trace) catapult ( chrome://tracing). --verbose --display verbose --version . --watch-exclusions=REGEX POSIX `dune build --watch` . --watch-exclusions . - . --watch-exclusions . : ^_opam /_opam ^_esy /_esy ^\.#.* /\.#.* ~$ ^#[^#]*#$ /#[^#]*#$ ^4913$ /4913$ /.git /.hg :/windows --workspace=FILE ( DUNE_WORKSPACE) . -x VAL ( DUNE_CROSS_TARGET) (toolchain). (MORE HELP) `dune COMMAND --help' . (EXIT STATUS) dune rules : 0 . 1 . 130 . (ENVIRONMENT) rules : DUNE_BUILD_DIR . _build . DUNE_CACHE Dune ( disabled enabled-except-user-rules enabled). `enabled-except-user-rules' . DUNE_CACHE_CHECK_PROBABILITY Dune. : . . DUNE_CACHE_STORAGE_MODE Dune ( auto hardlink copy). `hardlink' . DUNE_CROSS_TARGET . DUNE_DEBUG_PACKAGE_LOGS . DUNE_DIFF_COMMAND . - . DUNE_DISABLE_PROMOTION . DUNE_INSTRUMENT_WITH BACKENDS. BACKENDS . DUNE_JOBS JOBS . JOBS auto () . DUNE_PROFILE . dev -p release . DUNE_ROOT . . DUNE_SANDBOX . ( --sandbox ) DUNE_STORE_ORIG_SOURCE_DIR dune-package. DUNE_TARGET_EXEC . : TOOLCHAIN=CMD ( 'windows=wine'). DUNE_WORKSPACE . (BUGS) https://github.com/ocaml/dune/issues (SEE ALSO) dune(1) Dune 3.24.2 DUNE-RULES(1)