From 557bc3e82f6722f5f491f35c62c18468ad41b722 Mon Sep 17 00:00:00 2001 From: Petri-Johan Last Date: Sat, 27 Jul 2024 09:06:53 +0200 Subject: [PATCH] Add minimum ocaml version --- dune-project | 2 +- ppx_heml.opam | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dune-project b/dune-project index ba926fa..ebc4823 100644 --- a/dune-project +++ b/dune-project @@ -19,7 +19,7 @@ (name ppx_heml) (synopsis "PPX for deriving HTML templates") (description "PPX for deriving HTML templates. Includes %heml") - (depends ocaml dune ppxlib base ppx_string (menhir :build) (ppx_inline_test :with-test)) + (depends (ocaml (>= 5.0)) dune ppxlib base ppx_string (menhir :build) (ppx_inline_test :with-test)) (tags (topics "to describe" your project))) diff --git a/ppx_heml.opam b/ppx_heml.opam index abca7f9..3acbc7d 100644 --- a/ppx_heml.opam +++ b/ppx_heml.opam @@ -9,7 +9,7 @@ tags: ["topics" "to describe" "your" "project"] homepage: "https://github.com/pjlast/heml" bug-reports: "https://github.com/pjlast/heml/issues" depends: [ - "ocaml" + "ocaml" {>= "5.0"} "dune" {>= "3.16"} "ppxlib" "base"