From e1b9e6c01cd2a970965d9317278df1cded101dd0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Jul 2022 07:34:48 +0200 Subject: Add paragraph on new dependency declaration features to intro --- doc/intro.cli | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/intro.cli') 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: -- cgit v1.1