Make dune-project look more realistic.

This commit is contained in:
2024-12-03 17:18:55 +00:00
parent 0d351d41ee
commit a322cff867

View File

@@ -4,23 +4,37 @@
(generate_opam_files true) (generate_opam_files true)
(homepage https://gitea.gretton-dann.synology.me/mgrettondann/ocaml-gdcc)
(source (source
(github username/reponame)) (uri https://gitea.gretton-dann.synology.me/mgrettondann/ocaml-gdcc.git))
(authors "Author Name") (authors "Matthew Gretton-Dann <matt@gretton-dann.org.uk>")
(maintainers "Maintainer Name") (maintainers "Matthew Gretton-Dann <matt@gretton-dann.org.uk>")
(bug_reports
https://gitea.gretton-dann.synology.me/mgrettondann/ocaml-gdcc/issues)
(license Apache-2.0) (license Apache-2.0)
(documentation https://url/to/documentation) (documentation
https://gitea.gretton-dann.synology.me/mgrettondann/ocaml-gdcc/wiki)
(package (package
(name gdcc) (name gdcc)
(synopsis "A short synopsis") (synopsis "C Compiler written in OCaml")
(description "A longer description") (description "A simple C compiler written in OCaml")
(depends ocaml dune) (depends
(ocaml
(>= 5.2))
dune
(ounit2 :with-test)
(ocamlformat :dev)
(ocaml-lsp-server :dev)
(utop :dev)
(odoc :with-doc))
(tags (tags
(topics "to describe" your project))) (c-compiler ocaml)))
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/reference/dune-project/index.html ; See the complete stanza docs at https://dune.readthedocs.io/en/stable/reference/dune-project/index.html