This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,17 @@
open E2e
open Functoria
open Cmdliner
let x = Impl.v ~packages:[ package "x" ] "X" job
let y = Impl.v ~packages:[ package "y" ] "Y" job
let target_conv : [ `X | `Y ] Cmdliner.Arg.conv =
Cmdliner.Arg.enum [ ("y", `Y); ("x", `X) ]
let target =
let doc = Arg.info ~doc:"Target." [ "t" ] in
let key = Key.Arg.opt target_conv `X doc in
Key.create "target" key
let main = match_impl (Key.value target) ~default:y [ (`X, x) ]
let () = register ~src:`None "noop" [ main ]