We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc67d7b commit 85dc1baCopy full SHA for 85dc1ba
doc/dune-libs.rst
@@ -146,6 +146,15 @@ at which the current executable was built is as simple as:
146
| None -> "n/a"
147
| Some v -> Build_info.V1.Version.to_string v)
148
149
+You can specify the project version using the ``version`` field in the
150
+``dune-project`` file. For example:
151
+
152
+.. code:: dune
153
154
+ (version 1.2.3)
155
156
+For more details, refer to :doc:`/reference/dune-project/version`.
157
158
For libraries and executables from development repositories that don't
159
have version information written directly in the ``dune-project``
160
file, the version is obtained by querying the version control
0 commit comments