This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
16
unikernel/duniverse/dune_/doc/advanced/package-version.rst
Normal file
16
unikernel/duniverse/dune_/doc/advanced/package-version.rst
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
Package Version
|
||||
===============
|
||||
|
||||
.. TODO(diataxis)
|
||||
- reference: environment - packages
|
||||
|
||||
Dune determines a package's version by looking at the ``version`` field in the
|
||||
:doc:`/reference/dune-project/package`. If the version field isn't set,
|
||||
it looks at the toplevel ``version`` field in the ``dune-project`` field. If
|
||||
neither are set, Dune assumes that we are in development mode and reads the
|
||||
version from the VCS, if any. The way it obtains the version from the VCS is
|
||||
described in :ref:`the build-info section <build-info>`.
|
||||
|
||||
When installing the files of a package on the system, Dune
|
||||
automatically inserts the package version into various metadata files
|
||||
such as ``META`` and ``dune-package`` files.
|
||||
Loading…
Add table
Add a link
Reference in a new issue