From e832b7230dbf85156dafd20bdb5cb12969bf4315 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Thu, 5 Apr 2018 12:03:52 +0800 Subject: [PATCH] Add public_name's to all dune sub libraries These will all live under the jbuilder package --- src/configurator/jbuild | 1 + src/ocaml-config/jbuild | 1 + src/stdune/caml/jbuild | 1 + src/stdune/jbuild | 1 + src/usexp/jbuild | 4 +++- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/configurator/jbuild b/src/configurator/jbuild index 2b696467..2b11a82f 100644 --- a/src/configurator/jbuild +++ b/src/configurator/jbuild @@ -1,5 +1,6 @@ (library ((name configurator) + (public_name jbuilder.configurator) (libraries (stdune ocaml_config)) (flags (:standard -safe-string (:include flags/flags.sexp))) (preprocess no_preprocessing))) diff --git a/src/ocaml-config/jbuild b/src/ocaml-config/jbuild index df51c131..af200578 100644 --- a/src/ocaml-config/jbuild +++ b/src/ocaml-config/jbuild @@ -2,5 +2,6 @@ (library ((name ocaml_config) + (public_name jbuilder.ocaml_config) (libraries (stdune usexp)) (synopsis "Interpret the output of 'ocamlc -config'"))) diff --git a/src/stdune/caml/jbuild b/src/stdune/caml/jbuild index 1886d286..b8cfb6d7 100644 --- a/src/stdune/caml/jbuild +++ b/src/stdune/caml/jbuild @@ -1,3 +1,4 @@ (library ((name caml) + (public_name jbuilder.caml) (synopsis "Wrapped version of the OCaml stdlib"))) diff --git a/src/stdune/jbuild b/src/stdune/jbuild index 36e4eaa0..d6a2a3ca 100644 --- a/src/stdune/jbuild +++ b/src/stdune/jbuild @@ -1,4 +1,5 @@ (library ((name stdune) + (public_name jbuilder.stdune) (synopsis "Standard library of Dune") (libraries (caml unix)))) diff --git a/src/usexp/jbuild b/src/usexp/jbuild index 2c10cbe2..89e3240c 100644 --- a/src/usexp/jbuild +++ b/src/usexp/jbuild @@ -1,6 +1,8 @@ (jbuild_version 1) -(library ((name usexp))) +(library + ((name usexp) + (public_name jbuilder.usexp))) (rule (with-stdout-to table.ml.gen (run gen/gen_parser_automaton.exe)))