@@ -34,37 +34,54 @@ To get started with Pizza Test, ensure you have the following installed:
3434
3535### Adding Pizza Test Dependency
3636
37- #### Adding Pizza Test Dependency With Meson
37+ #### Adding via Meson Build System
3838
39391 . ** Install Meson Build System** :
4040 Install Meson version ` 1.3 ` or newer:
41- ``` sh
42- python -m pip install meson # To install Meson
43- python -m pip install --upgrade meson # To upgrade Meson
44- ```
41+ ``` bash
42+ python -m pip install meson # To install Meson
43+ python -m pip install --upgrade meson # To upgrade Meson
44+ ```
4545
46462 . ** Create a ` .wrap ` File** :
4747 Add a ` fossil-test.wrap ` file in your ` subprojects ` directory with the following content:
4848
49- ``` ini
50- # ======================
51- # Git Wrap package definition
52- # ======================
53- [wrap-git]
54- url = https://github.com/fossillogic/fossil-test.git
55- revision = v1.2.7
49+ ``` ini
50+ # ======================
51+ # Git Wrap package definition
52+ # ======================
53+ [wrap-git]
54+ url = https://github.com/fossillogic/fossil-test.git
55+ revision = v1.2.7
5656
57- [provide]
58- fossil-test = fossil_test_dep
59- ```
57+ [provide]
58+ fossil-test = fossil_test_dep
59+ ```
6060
61613 . ** Integrate the Dependency** :
6262 In your ` meson.build ` file, integrate Fossil Test by adding the following line:
63- ``` meson
64- dep = dependency('fossil-test')
65- ```
63+ ``` meson
64+ dep = dependency('fossil-test')
65+ ```
6666
67- ---
67+ #### Adding via Conan GitHub repository
68+
69+ Conan can install packages directly from a GitHub repository if it contains a valid conanfile.py.
70+
71+ ``` bash
72+ # Install from GitHub (replace branch/tag if needed)
73+ conan install git+https://github.com/fossillogic/fossil-test.git#v1.2.7 --name pizza_test --build=missing
74+
75+ # Build your project
76+ # CMake example:
77+ cmake -S . -B build
78+ cmake --build build
79+
80+ # Meson example:
81+ meson setup builddir
82+ meson compile -C builddir
83+ meson test -C builddir
84+ ```
6885
6986** Note** : For the best experience, always use the latest release of Pizza Test. Visit the [ Pizza Test Releases] ( https://github.com/pizzalogic/pizza-test/releases ) page for the latest versions.
7087
0 commit comments