Skip to content

Commit 81b7787

Browse files
committed
docs: Add installation instructions using Bower
1 parent a9d22af commit 81b7787

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docs/installation.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,37 @@ Note that due to Meson design, dependencies must be explicitly provided.
8383
executable('app', 'app.vala',
8484
dependencies: [glib, gobject, gio, soup, vsgi, valum])
8585
86+
Bower
87+
-----
88+
89+
If you are using Meson subprojects, Bower can be used to install Valum and
90+
other dependencies in a very simple way.
91+
92+
In ``.bowerrc`` so that packages lands into the ``subprojects`` directory.
93+
94+
.. code-block:: json
95+
96+
{
97+
"directory": "subprojects"
98+
}
99+
100+
In ``bower.json``
101+
102+
.. code-block:: json
103+
104+
{
105+
"name": "foo",
106+
"dependencies": {
107+
"valum": "^0.3.8"
108+
}
109+
}
110+
111+
To install or update the dependencies issue the following command:
112+
113+
.. code-block:: bash
114+
115+
bower install
116+
86117
Docker
87118
------
88119

0 commit comments

Comments
 (0)