Opam package with OCaml's native toplevel META file
Find a file
Nathan Rebours 4eedb6f347 Fix pin-depends field suggestion
Signed-off-by: Nathan Rebours <nathan.p.rebours@gmail.com>
2021-07-05 19:59:14 +02:00
.gitignore Initial commit 2021-07-05 17:49:05 +02:00
CHANGES.md Switch changelog back to dev mode 2021-07-05 18:08:39 +02:00
compiler-libs-opttoplevel.opam Add synopsis to avoid opam warning 2021-07-05 17:55:18 +02:00
dune-project Add synopsis to avoid opam warning 2021-07-05 17:55:18 +02:00
LICENSE.md Initial commit 2021-07-05 17:49:05 +02:00
META.compiler-libs-opttoplevel.template Initial commit 2021-07-05 17:49:05 +02:00
README.md Fix pin-depends field suggestion 2021-07-05 19:59:14 +02:00

compiler-libs-opttoplevel

This opam packages only install META files for OCaml's native toplevel, assuming your ocaml installation does ship ocamlopttoplevel.cmxa. This will allow you to use the native toplevel library in your dune projects.

To install in your current switch, simply run:

opam pin add compiler-libs-opttoplevel.0.1.0 git+https://github.com/NathanReb/compiler-libs-opttoplevel.git#0.1.0

or add the following pin-depends field to your opam file:

pin-depends: [
  [
    "compiler-libs-opttoplevel.0.1.0"
    "git+https://github.com/NathanReb/compiler-libs-opttoplevel.git#0.1.0"
  ]
]

The native toplevel library will be available under the name compiler-libs-opttoplevel.