File tree Expand file tree Collapse file tree 4 files changed +17
-5
lines changed Expand file tree Collapse file tree 4 files changed +17
-5
lines changed Original file line number Diff line number Diff line change
1
+ type 'v map_as_object =
2
+ (string * 'v) list <json repr="object">
3
+ wrap <ocaml module="Common.StringMap" t="'v Common.StringMap.t">
Original file line number Diff line number Diff line change 6
6
(preprocess
7
7
(pps lwt_ppx)))
8
8
9
+ (rule
10
+ (targets common_t.ml common_t.mli)
11
+ (deps common.atd)
12
+ (action
13
+ (run atdgen -t %{deps})))
14
+
15
+ (rule
16
+ (targets common_j.ml common_j.mli)
17
+ (deps common.atd)
18
+ (action
19
+ (run atdgen -j -j-std %{deps})))
20
+
9
21
(rule
10
22
(targets github_t.ml github_t.mli)
11
23
(deps github.atd)
Original file line number Diff line number Diff line change 1
- type 'v map_as_object <ocaml from="State "> = abstract
1
+ type 'v map_as_object <ocaml from="Common "> = abstract
2
2
3
3
type message_field = {
4
4
?title: string nullable;
Original file line number Diff line number Diff line change 1
1
type status_state <ocaml from="Github"> = abstract
2
-
3
- type 'v map_as_object =
4
- (string * 'v) list <json repr="object">
5
- wrap <ocaml module="Common.StringMap" t="'v Common.StringMap.t">
2
+ type 'v map_as_object <ocaml from="Common"> = abstract
6
3
7
4
(* A map from branch names to build statuses *)
8
5
type branch_statuses = status_state map_as_object
You can’t perform that action at this time.
0 commit comments