Skip to content

Commit 3365a5d

Browse files
Update README.md
1 parent 2528acc commit 3365a5d

File tree

1 file changed

+18
-27
lines changed

1 file changed

+18
-27
lines changed

README.md

Lines changed: 18 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,43 +16,34 @@ To get started with Fossil Io, ensure you have the following installed:
1616

1717
- **Meson Build System**: If you don’t have Meson installed, follow the installation instructions on the official [Meson website](https://mesonbuild.com/Getting-meson.html).
1818

19-
### Adding Fossil Io Dependency
19+
### Adding Dependency
2020

21-
#### Adding Fossil Io Dependency With Meson
21+
#### Adding via Meson Git Wrap
2222

23-
1. **Install Meson Build System**:
24-
Install Meson version `1.3` or newer:
23+
To add a git-wrap, place a `.wrap` file in `subprojects` with the Git repo URL and revision, then use `dependency('fossil-test')` in `meson.build` so Meson can fetch and build it automatically.
2524

26-
```sh
27-
python -m pip install meson # To install Meson
28-
python -m pip install --upgrade meson # To upgrade Meson
29-
```
25+
#### Adding via Conan GitHub repository
3026

31-
2. **Create a `.wrap` File**:
32-
Add the `fossil-io.wrap` file in your `subprojects` directory and include the following content:
27+
packages directly from a GitHub repository if it contains a valid `conanfile.py`.
3328

34-
```ini
35-
# ======================
36-
# Git Wrap package definition
37-
# ======================
38-
[wrap-git]
39-
url = https://github.com/fossillogic/fossil-io.git
40-
revision = v0.2.3
29+
```bash
30+
conan install git+https://github.com/fossillogic/fossil-io.git#v0.2.4 --name fossil_io --build=missing
31+
```
4132

42-
[provide]
43-
fossil-io = fossil_io_dep
44-
```
33+
#### Integrate the Dependency:
4534

46-
3. **Integrate the Dependency**:
47-
In your `meson.build` file, integrate Fossil Io by adding the following line:
35+
Add the `fossil-io.wrap` file in your `subprojects` directory and include the following content:
4836

49-
```ini
50-
dep = dependency('fossil-io')
51-
```
37+
```ini
38+
[wrap-git]
39+
url = https://github.com/fossillogic/fossil-io.git
40+
revision = v0.2.4
5241

53-
---
42+
[provide]
43+
dependency_names = fossil-io
44+
```
5445

55-
**Note**: For the best experience, always use the latest release of Fossil Io. Visit the [Fossil Io Releases](https://github.com/fossillogic/fossil-io/releases) page for the latest versions.
46+
**Note**: For the best experience, always use the latest releases. Visit the [releases](https://github.com/fossillogic/fossil-io/releases) page for the latest versions.
5647

5748
## Configure Options
5849

0 commit comments

Comments
 (0)