valum-framework / valum

Web micro-framework written in Vala
https://valum-framework.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
225 stars 23 forks source link

Question about including as a library #218

Closed optimisme closed 5 years ago

optimisme commented 6 years ago

Hi,

Is there a way to include 'valum' as a local folder library in my app instead of installing everything?

Thanks

arteymix commented 6 years ago

Yes, as a matter of fact you can use Meson subproject feature and Wrap to manage your dependencies.

Here: http://docs.valum-framework.org/en/stable/installation/#subproject

Now, instead of cloning the repository, you can write a valum.wrap file inside subprojects with the following content:

[wrap-git]
directory=valum
url=https://github.com/valum-framework/valum.git
revision=v0.3.14