add build manifest

This commit is contained in:
zapashcanon 2019-11-18 04:14:37 +01:00
parent ad8f6bc9c8
commit abec819630
Signed by: zapashcanon
GPG Key ID: 8981C3C62D1D28F1
2 changed files with 17 additions and 1 deletions

16
.build.yml Normal file
View File

@ -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

View File

@ -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.<Paste>