@@ -2891,8 +2891,8 @@ let exists p a =
28912891 loop 0
28922892
28932893end
2894- module Bsb_json : sig
2895- #1 " bsb_json .mli"
2894+ module Ext_json : sig
2895+ #1 " ext_json .mli"
28962896(* Copyright (C) 2015-2016 Bloomberg Finance L.P.
28972897 *
28982898 * This program is free software: you can redistribute it and/or modify
@@ -2967,7 +2967,7 @@ val test:
29672967val query : path -> t -> status
29682968
29692969end = struct
2970- #1 " bsb_json .ml"
2970+ #1 " ext_json .ml"
29712971# 1 " bsb/bsb_json.mll"
29722972
29732973type error =
@@ -4264,7 +4264,7 @@ val mkp : string -> unit
42644264*)
42654265val get_bsc_bsdep : string -> string * string
42664266val get_bsc_dir : string -> string
4267- val get_list_string : Bsb_json .t array -> string list
4267+ val get_list_string : Ext_json .t array -> string list
42684268
42694269end = struct
42704270#1 " bsb_build_util.ml"
@@ -4375,7 +4375,7 @@ let rec mkp dir =
43754375
43764376
43774377let get_list_string s =
4378- Ext_array. to_list_map (fun (x : Bsb_json .t ) ->
4378+ Ext_array. to_list_map (fun (x : Ext_json .t ) ->
43794379 match x with
43804380 | `Str x -> Some x.str
43814381 | _ -> None
@@ -6091,14 +6091,14 @@ type t =
60916091
60926092
60936093val parsing_source :
6094- string -> Bsb_json .t String_map .t -> t
6094+ string -> Ext_json .t String_map .t -> t
60956095
60966096(* * entry is to the
60976097 [sources] in the schema
60986098*)
60996099val parsing_sources :
61006100 string ->
6101- Bsb_json .t array ->
6101+ Ext_json .t array ->
61026102 t
61036103
61046104
@@ -6144,7 +6144,7 @@ type file_group =
61446144let (// ) = Ext_filename. combine
61456145
61466146let (|?) m (key , cb ) =
6147- m |> Bsb_json . test key cb
6147+ m |> Ext_json . test key cb
61486148
61496149let get_list_string = Bsb_build_util. get_list_string
61506150
@@ -6175,7 +6175,7 @@ let print_arrays file_array oc offset =
61756175
61766176
61776177
6178- let handle_list_files dir (s : Bsb_json .t array ) loc_start loc_end : Ext_file_pp.interval list * Binary_cache.t =
6178+ let handle_list_files dir (s : Ext_json .t array ) loc_start loc_end : Ext_file_pp.interval list * Binary_cache.t =
61796179 if Array. length s = 0 then
61806180 begin
61816181 let files_array = Bsb_dir. readdir dir in
@@ -6195,7 +6195,7 @@ let handle_list_files dir (s : Bsb_json.t array) loc_start loc_end : Ext_file_p
61956195
61966196 else
61976197 [] ,
6198- Array. fold_left (fun acc (s : Bsb_json .t ) ->
6198+ Array. fold_left (fun acc (s : Ext_json .t ) ->
61996199 match s with
62006200 | `Str {str = s } ->
62016201 Binary_cache. map_update ~dir acc s
@@ -6229,7 +6229,7 @@ let empty = { files = []; intervals = []; globbed_dirs = []; }
62296229
62306230
62316231
6232- let rec parsing_source cwd (x : Bsb_json .t String_map.t )
6232+ let rec parsing_source cwd (x : Ext_json .t String_map.t )
62336233 : t =
62346234 let dir = ref cwd in
62356235 let sources = ref String_map. empty in
@@ -6335,7 +6335,7 @@ let rec parsing_source cwd (x : Bsb_json.t String_map.t )
63356335 }
63366336
63376337
6338- let parsing_sources cwd (file_groups : Bsb_json .t array ) =
6338+ let parsing_sources cwd (file_groups : Ext_json .t array ) =
63396339 Array. fold_left (fun origin x ->
63406340 match x with
63416341 | `Obj map ->
@@ -6511,16 +6511,16 @@ val get_ocamllex : unit -> string
65116511val set_ocamllex : cwd :string -> string -> unit
65126512
65136513
6514- val set_bs_external_includes : Bsb_json .t array -> unit
6514+ val set_bs_external_includes : Ext_json .t array -> unit
65156515val get_bs_external_includes : unit -> string list
65166516
65176517
65186518
65196519
6520- val set_bsc_flags : Bsb_json .t array -> unit
6520+ val set_bsc_flags : Ext_json .t array -> unit
65216521val get_bsc_flags : unit -> string list
65226522
6523- val set_ppx_flags : cwd :string -> Bsb_json .t array -> unit
6523+ val set_ppx_flags : cwd :string -> Ext_json .t array -> unit
65246524val get_ppx_flags : unit -> string list
65256525
65266526val set_package_name : string -> unit
@@ -6531,7 +6531,7 @@ val get_refmt : unit -> string
65316531
65326532
65336533val get_bs_dependencies : unit -> string list
6534- val set_bs_dependencies : Bsb_json .t array -> unit
6534+ val set_bs_dependencies : Ext_json .t array -> unit
65356535
65366536
65376537val get_js_post_build_cmd : unit -> string option
@@ -6542,7 +6542,7 @@ val set_ninja : cwd:string -> string -> unit
65426542
65436543type package_specs = String_set .t
65446544val get_package_specs : unit -> package_specs
6545- val set_package_specs_from_array : Bsb_json .t array -> unit
6545+ val set_package_specs_from_array : Ext_json .t array -> unit
65466546
65476547val get_generate_merlin : unit -> bool
65486548val set_generate_merlin : bool -> unit
@@ -7656,7 +7656,7 @@ let bsdeps = ".bsdeps"
76567656
76577657(* Key is the path *)
76587658let (|?) m (key , cb ) =
7659- m |> Bsb_json . test key cb
7659+ m |> Ext_json . test key cb
76607660
76617661let (// ) = Ext_filename. combine
76627662
@@ -7775,7 +7775,7 @@ let write_ninja_file bsc_dir cwd =
77757775 revise_merlin buffer ;
77767776 in
77777777 let config_json_chan = open_in_bin Literals. bsconfig_json in
7778- let global_data = Bsb_json . parse_json_from_chan config_json_chan in
7778+ let global_data = Ext_json . parse_json_from_chan config_json_chan in
77797779
77807780 let () =
77817781 match global_data with
0 commit comments