package febusy

  1. Overview
  2. Docs
Embedded build system library

Install

Dune Dependency

Authors

Maintainers

Sources

febusy-0.0.0.tar.gz
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.

Published: 04 Oct 2018

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.

Build

This builds everything:

ocaml please.ml configure
jbuilder build @install
jbuilder build _build/default/src/test/main.exe

See 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:

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

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)

  1. rresult >= "0.3.0"
  2. sosa
  3. nonstd >= "0.0.2"
  4. jbuilder >= "1.0+beta20"
  5. ocaml >= "4.03.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.