Skip to content

Commit

Permalink
Document phase control flags
Browse files Browse the repository at this point in the history
--dry-run
--only-dependencies
--only-configure
--only-download
  • Loading branch information
fgaz committed Apr 3, 2021
1 parent d71d8aa commit a7c6c01
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions doc/cabal-project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,31 @@ package, and thus apply globally:

Specifies the name of the directory of the global package store.

Phase control
-------------

The following settings apply to commands that result in build actions
(``build``, ``run``, ``repl``, ``test``...), and control which phases of the
build are executed.

.. option:: --dry-run

Do not download, build, or install anything, only print what would happen.

.. option:: --only-configure

Instead of performing a full build just run the configure step.
Only accepted by the ``build`` command.

.. option:: --only-download

Do not build anything, only fetch the packages.

.. option:: --only-dependencies

Install only the dependencies necessary to build the given packages.
Not accepted by the ``repl`` command.

Solver configuration options
----------------------------

Expand Down

0 comments on commit a7c6c01

Please sign in to comment.