package nosetup

Not available on OCaml 5.5
  1. Overview
  2. Docs
An `.ocamlinit` helper to `#require` packages in an OCaml toplevels

Install

dune-project
 Dependency

Authors

Maintainers

Sources

nosetup-0.8.1.tbz
sha256=3e3625d6cef46d6ad30e5981ab9f671704e4a0b110ed4d91a3ef3850666bbc20
md5=2c319ec16f31e851cba78240a8bed18c

Description

nosetup helps you to load the dependencies of your project into your toplevel of choice (OCaml Toplevel as well as UTOP) so you don't have to #require your dependencies yourself. It does so by finding your project metadata (even if you are in a subdirectory, similar to git), parsing it and then using findlib to load it into your toplevel session.

Currently it supports Merlin's .merlin files, though there is no limitation of which files could be supported as long as the findlib package names can be parsed.

Added to opam-repository:

README

nosetup - An .ocamlinit helper to #require packages in an OCaml toplevels

nosetup helps you to load the dependencies of your project into your toplevel of choice (OCaml Toplevel as well as UTOP) so you don't have to #require your dependencies yourself. It does so by finding your project metadata (even if you are in a subdirectory, similar to git), parsing it and then using findlib to load it into your toplevel session.

Currently it supports Merlin's .merlin files, though there is no limitation of which files could be supported as long as the findlib package names can be parsed.

Naming

You can call it no-setup or nose-tup. In the latter case you can use (👃,👃) as logo.

Installation

Be sure to have installed:

  • ocamlbuild (for building)
  • topkg (also for building)
  • findlib
  • angstrom
  • containers

The package uses topkg to run the build infrastructure, therefore you can build it with a short incantation:

ocaml pkg/pkg.ml -build

Usage

You need to add a bit to your .ocamlinit:

#require "nosetup";;

Now every utop you'll start will have all the findlib packages from your .merlin file preloaded. No need to do anything more.

License

As you can see in the LICENSE.md, it is Apache 2.0 licensed.

Dependencies (6)

  1. containers
  2. angstrom < "0.7.0"
  3. topkg build
  4. ocamlbuild build
  5. ocamlfind
  6. ocaml >= "4.02.0"

Dev Dependencies

None

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building nosetup with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.8.1 (this version) good good n/a n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure