This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -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"