From abec8196305fb161235cd333bb8aaaeaa1914496 Mon Sep 17 00:00:00 2001 From: zapashcanon Date: Mon, 18 Nov 2019 04:14:37 +0100 Subject: [PATCH] add build manifest --- .build.yml | 16 ++++++++++++++++ README.md | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .build.yml 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.