add builder app

This commit is contained in:
Robur 2021-06-14 10:15:29 +00:00
parent 3d1f43ce85
commit 2d0ea09cc5

View file

@ -0,0 +1,41 @@
opam-version: "2.0"
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
homepage: "https://github.com/roburio/builder"
dev-repo: "git+https://github.com/roburio/builder.git"
bug-reports: "https://github.com/roburio/builder/issues"
license: "ISC"
depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.0.0"}
"asn1-combinators"
"bheap"
"bos"
"cmdliner"
"cstruct"
"duration"
"fmt"
"fpath"
"logs"
"lwt"
"ptime"
"rresult"
"uuidm"
"curly"
"base64"
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["sh" "packaging/FreeBSD/create_package.sh"] {os = "freebsd"}
]
install: [
["cp" "builder.txz" "%{bin}%/"] {os = "freebsd"}
]
synopsis: "Scheduling and executing shell jobs"
url {
src: "git+https://github.com/roburio/builder.git"
}