From 0e33a5cc17f2eebf2159bf13d0aa002ac90db702 Mon Sep 17 00:00:00 2001 From: Leandro Ostera Date: Wed, 7 Feb 2024 14:09:29 +0100 Subject: [PATCH] fix: add .opam file --- dune-project | 1 + riot_website.opam | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 riot_website.opam diff --git a/dune-project b/dune-project index cc19773..e1e2848 100644 --- a/dune-project +++ b/dune-project @@ -3,6 +3,7 @@ (using directory-targets 0.1) (name riot_website) +(generate_opam_files true) (source (github riot-ml/website)) diff --git a/riot_website.opam b/riot_website.opam new file mode 100644 index 0000000..083c933 --- /dev/null +++ b/riot_website.opam @@ -0,0 +1,32 @@ +# This file is generated by dune, edit dune-project instead +opam-version: "2.0" +maintainer: ["Leandro Ostera "] +authors: ["Leandro Ostera "] +license: "MIT" +homepage: "https://github.com/riot-ml/website" +doc: "https://github.com/your-username/website" +bug-reports: "https://github.com/riot-ml/website/issues" +depends: [ + "dune" {>= "3.11" & >= "3.11"} + "melange" {>= "2.1.0"} + "ocaml" {>= "5.1.0"} + "opam-check-npm-deps" + "ppx_deriving" + "reason" {>= "3.10.0"} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/riot-ml/website.git"