source¶
- (source ...)
Added in version 1.7.
Specify where the source for the package can be found.
It can be specified as
(uri <uri>)or using shortcuts for some hosting services:Valid for all packages defined in the current Dune project. May be overriden by the per-package field (see package).
Service
Syntax
(github user/repo)(bitbucket user/repo)(gitlab user/repo)(gitlab organization/project/repo)(New in 3.17)(sourcehut user/repo)(codeberg user/repo)(New in 3.17)(tangled @user.domain/repo)(New in 3.21)Examples:
(source (github ocaml/dune))
(source (uri https://dev.example.com/project.git))