diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-18 07:34:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-18 07:34:48 +0200 |
commit | e1b9e6c01cd2a970965d9317278df1cded101dd0 (patch) | |
tree | a28b28acec492e497329fcac6032b37551fb501f /doc | |
parent | db341e52a7ec488eb134dd9d3223ddbd65db8ed1 (diff) |
Add paragraph on new dependency declaration features to intro
Diffstat (limited to 'doc')
-rw-r--r-- | doc/intro.cli | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/intro.cli b/doc/intro.cli index 564e03f..5758782 100644 --- a/doc/intro.cli +++ b/doc/intro.cli @@ -978,6 +978,11 @@ semantic versioning), we suggest that you use the \c{^} constraint which provides a good balance between compatibility and upgradability with \c{~} being a more conservative option. +Besides the version constraint, the dependency declaration supports a number +of more advanced features, including conditional dependencies, dependency +alternatives, and dependency configuration. For details, see the +\l{bpkg#manifest-package-depends \c{depends}} value documentation. + Ok, we've specified where our package comes from (\c{repositories.manifest}) and which versions we find acceptable (\c{manifest}). The next step is to edit \c{hello/buildfile} and import the \c{libhello} library into our build: |