diff --git a/Makefile b/Makefile index f22a73b..22d4a50 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -doc : docs stringCodepointSplitter.ml - ocamlfind ocamldoc -package uutf -html -charset=utf-8 stringCodepointSplitter.ml -d docs +doc : docs lib/stringCodepointSplitter.ml + ocamlfind ocamldoc -package uutf -package findlib -html -charset=utf-8 lib/stringCodepointSplitter.ml -d docs docs : mkdir docs \ No newline at end of file diff --git a/dune-project b/dune-project index 75aa29f..66bf899 100644 --- a/dune-project +++ b/dune-project @@ -21,7 +21,7 @@ (description "Split a string to a list of strings of a character by the unicode codepoint. It requires module Uutf.") - (depends ocaml dune uutf) + (depends ocaml findlib dune uutf) (tags (string utf8))) ; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project diff --git a/lib/stringCodepointSplitter.ml b/lib/stringCodepointSplitter.ml index 1ad5a51..020b0e3 100644 --- a/lib/stringCodepointSplitter.ml +++ b/lib/stringCodepointSplitter.ml @@ -1,4 +1,5 @@ open Stdlib + (** The Module needs [Uutf] Module. diff --git a/stringCodepointSplitter.opam b/stringCodepointSplitter.opam index 38f22d2..c2846b1 100644 --- a/stringCodepointSplitter.opam +++ b/stringCodepointSplitter.opam @@ -15,7 +15,8 @@ homepage: "https://github.com/yoxem/stringCodepointSplitter" doc: "https://github.com/Yoxem/stringCodepointSplitter/tree/main/docs" bug-reports: "https://github.com/Yoxem/stringCodepointSplitter/issues" depends: [ - "ocaml>=4.14" + "ocaml" + "findlib" "dune" {>= "3.9"} "uutf" "odoc" {with-doc}