From 2d038279f2bc1a64de78562be261aaf9a84f69a0 Mon Sep 17 00:00:00 2001 From: Emin Arslan Date: Thu, 5 Feb 2026 23:09:37 +0300 Subject: [PATCH] ci: add directive in dune to generate opam file --- dune-project | 1 + ollisp.opam | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 ollisp.opam diff --git a/dune-project b/dune-project index cf58284..abe8bb8 100644 --- a/dune-project +++ b/dune-project @@ -1,5 +1,6 @@ (lang dune 3.7) (using menhir 2.1) +(generate_opam_files true) (package (name ollisp)) diff --git a/ollisp.opam b/ollisp.opam new file mode 100644 index 0000000..7d57766 --- /dev/null +++ b/ollisp.opam @@ -0,0 +1,20 @@ +# This file is generated by dune, edit dune-project instead +opam-version: "2.0" +depends: [ + "dune" {>= "3.7"} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +]