package oskel
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=e7d1abb7cb501334ca495757ef10744883f3773cac8ac67de54394ad5f6dc71b
sha512=228b11bd586b322f0306a08448ef800fc067e4e8979a812590c4bda50ea499d055fb0ecd429ad73caba599fdcd98da8d2ad1fb42253a3d1c6a3ea9737f213cdb
Description
Skeleton generator for OCaml projects
oskel is a tool for generating stubs of OCaml projects pre-equipped with the standard boilerplate: OCamlformat config file, Alcotest scaffolding, auto-generation of [*.opam] files via [dune-project] etc. It supports generating binaries with Cmdliner, Fmt and Logs support. The resulting projects are compliant with [dune-release lint].
Added to opam-repository:
README
:skull: oskel: skeleton generator for OCaml projects
The standard project type is initialised with:
.opamfile autogeneration viadune-project;- OCamlformat config file;
- Alcotest testing boilerplate, with pre-configured Logs initialisation.
- Git repository with an initial commit;
- OCaml
.gitignore; README.mdwith installation instructions foropam.
Choice of project layouts
There are multiple project structures, which can be selected via the --kind flag:
library(default): library-only package;executable: a single binary with minimal configuration;binary: package providing a Cmdliner binary inbin/, making use of a tested library inlib/.
Examples of each layout can be seen in the examples/ directory. You can also use e.g. oskel --dry-run --kind executable to see a preview of the project structure.
Installation
opam install oskelIf you want to contribute to the project, please read CONTRIBUTING.md.
Configuration
oskel is very configurable (see oskel --help for details). Most options can be set via environment variables. In particular, you can set your personal metadata in your shell .profile:
export OSKEL_FULL_NAME="Joe Bloggs"
export OSKEL_EMAIL="joe@example.com"
export OSKEL_GITHUB_ORG="JoeBlo"
Dependencies (7)
- lwt
- ocaml-syntax-shims
- stdlib-shims
- logs
-
fmt
>= "0.8.7" -
cmdliner
< "2.0.0" -
dune
>= "2.0"
Dev Dependencies (1)
-
cmdliner
with-test & < "1.1.0"
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building oskel 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.3.0 (this version) | good | good | good | good | good |
- 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
