diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..6bf65a2 --- /dev/null +++ b/.build.yml @@ -0,0 +1,16 @@ +image: debian/unstable +packages: + - opam + - ocaml +sources: + - https://git.zapashcanon.fr/zapashcanon/exit +tasks: + - setup: | + opam init -y + opam update -y + opam install -y dune + - build: | + eval "$(opam env)" + cd exit + dune build @all + dune runtest diff --git a/README.md b/README.md index 9f64564..1a5d4df 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Exit +# Exit [![builds.sr.ht status](https://builds.sr.ht/~zapashcanon/exit.svg)](https://builds.sr.ht/~zapashcanon/exit?) Exit is an OCaml library to get exit status as declared in `stdlib.h`. It gives access to the values of `EXIT_SUCCESS` and `EXIT_FAILURE` macros and provides some functions built around them.