This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
Test the sourcehut source type in project files.
|
||||
|
||||
$ cat >dune-project <<EOF
|
||||
> (lang dune 3.1)
|
||||
> (name foo)
|
||||
> (generate_opam_files true)
|
||||
> (source (sourcehut john/doe))
|
||||
> (package
|
||||
> (allow_empty)
|
||||
> (name foo))
|
||||
> EOF
|
||||
|
||||
$ dune build
|
||||
$ cat foo.opam | grep -i sr.ht
|
||||
homepage: "https://sr.ht/~john/doe"
|
||||
bug-reports: "https://todo.sr.ht/~john/doe"
|
||||
dev-repo: "git+https://git.sr.ht/~john/doe"
|
||||
Loading…
Add table
Add a link
Reference in a new issue