Skip to content

Commit 0ffd4bd

Browse files
committed
fixed typo and improved wording
Signed-off-by: Klaim (Joël Lamotte) <[email protected]>
1 parent e64f10e commit 0ffd4bd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/mkdocs/docs/integration/package_managers.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ Note: [`build2`](https://build2.org) should not be considered as a standalone pa
717717

718718
To use this package in an exising [`build2`](https://build2.org) project, the general steps are:
719719

720-
1. <details><summary>Make the package available to download from a package repository that provides it.</b></summary>
720+
1. <details><summary>Make the package available to download from a package repository that provides it.</summary>
721721

722722
Your project's `repositories.manifest` specifies where the package manager will try to acquire packages by default. Make sure one of the repositories specified in this file provides `nlhomann-json` package.
723723
The recommended open-source repository is [`cppget.org`](https://cppget.org/).
@@ -732,7 +732,7 @@ To use this package in an exising [`build2`](https://build2.org) project, the ge
732732
733733
2. <details><summary>Add this package as dependency of your project.</summary>
734734
735-
In your project's `manifest` add the dependency to the package, like `depends: nlohmann-json`. You could also add some [version constraints](https://build2.org/build2-toolchain/doc/build2-toolchain-intro.xhtml#guide-add-remove-deps).
735+
In your project's `manifest` add the dependency to the package using `depends: nlohmann-json`. You could also add some [version constraints](https://build2.org/build2-toolchain/doc/build2-toolchain-intro.xhtml#guide-add-remove-deps).
736736
For example, to depend on the latest version available:
737737
```
738738
depends: nlohmann-json
@@ -747,7 +747,7 @@ To use this package in an exising [`build2`](https://build2.org) project, the ge
747747
```
748748
import nljson = nlhomann-json%lib{json}
749749
```
750-
- add the library's target as requirement for your target using it, for example:
750+
- then add the library's target as requirement for your target using it, for example:
751751
```
752752
exe{example} : ... $nljson
753753
```
@@ -757,7 +757,7 @@ To use this package in an exising [`build2`](https://build2.org) project, the ge
757757
758758
At this point, assuming your project is initialized in a build-configuration, any `b` or `bdep update` command that will update/build the project will also acquire the missing dependency automatically, then build it and link it with your target.
759759
760-
If you just want to trigger the dependencies synchronization for all your configurations:
760+
If you just want to synchronize dependencies for all your configurations to download the ones you just added:
761761
```
762762
bdep sync -af
763763
```
@@ -812,10 +812,10 @@ To use this package in an exising [`build2`](https://build2.org) project, the ge
812812
# create default C/C++ build configuration in ../example-myconfig/, initialize the project in it (downloads it's dependencies in it too)
813813
bdep init -C @myconfig cc
814814
815-
# build only
815+
# build only,
816816
b
817817
818-
# build and test the executable's output, will only work if the `tescript` is correct
818+
# or build and test the executable's output, will only work if the `tescript` is correct
819819
b test
820820
821821
```

0 commit comments

Comments
 (0)