package febusy
Not available on OCaml 5.5Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=8a23c34c0f3a0c53916b7a79c0a7f7e6f7918101e08282665d41bc530f147aa9
md5=b2670e8b26e3d74139e9cd0b335c5424
Description
Febusy is a library which, through a monadic API, allows one to build a dependency graph between effectful computations while keeping track of their products, a.k.a. “build artifacts.”
For now, one can run the builds sequentially with the Febusy.Edsl.Make_unix
module but the build-artifacts are still properly kept track of between runs
with “state” files.
Added to opam-repository:
README
Flexible Embedded Build System
Febusy is a library which, through a monadic API, allows one to build a dependency graph between effectful computations while keeping track of their products, a.k.a. “build artifacts.”
For now, one can run the builds sequentially with the Febusy.Edsl.Make_unix module but the build-artifacts are still properly kept track of between runs with “state” files.
- Source: https://gitlab.com/smondet/febusy/
- Documentation: http://smondet.gitlab.io/febusy/.
Build
This builds everything:
ocaml please.ml configure
jbuilder build @install
jbuilder build _build/default/src/test/main.exeSee also tools/ci-build.sh.
Usage
See the module Febusy.Edsl to construct a direct acyclic graph of build artifacts and then the function Febusy.Edsl.Make_unix.run to “run” the incremental build (cf. also edsl.mli).
See src/test/examples.ml for examples, especially:
let tiny_example () = ...: a very simpleA->B->Cdependency DAG.let build_website ~output = ...: the build of the http://smondet.gitlab.io/febusy/ website.
Works with utop:
jbuilder utop src/lib/
#use "src/test/examples.ml";;
tiny_example;; (* <- checkout the type *)
let ret = Febusy.Edsl.Make_unix.run ~state_file:"/tmp/utop-test.state" tiny_example;;Authors
- Seb Mondet https://seb.mondet.org
License
ISC License:
Copyright 2018, Seb Mondet <seb@mondet.org>
Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
Dependencies (5)
Dev Dependencies
None
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building febusy with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. 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.0.0 (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