Skip to content

Commit bb53c0b

Browse files
committed
snapshot
1 parent 6121f26 commit bb53c0b

File tree

2 files changed

+26
-24
lines changed

2 files changed

+26
-24
lines changed

lib/4.06.1/bsb.ml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ let dev = "dev"
127127
let export_all = "all"
128128
let export_none = "none"
129129

130-
let bsb_dir_group = "bsb_dir_group"
130+
131131
let g_lib_incls = "g_lib_incls"
132132
let use_stdlib = "use-stdlib"
133133
let reason = "reason"
@@ -12626,7 +12626,7 @@ type builtin = {
1262612626
copy_resources : t;
1262712627
(** Rules below all need restat *)
1262812628
build_bin_deps : t ;
12629-
12629+
build_bin_deps_dev : t ;
1263012630
ml_cmj_js : t;
1263112631
ml_cmj_js_dev : t;
1263212632
ml_cmj_cmi_js : t ;
@@ -12761,7 +12761,7 @@ type builtin = {
1276112761
copy_resources : t;
1276212762
(** Rules below all need restat *)
1276312763
build_bin_deps : t ;
12764-
12764+
build_bin_deps_dev : t;
1276512765
ml_cmj_js : t;
1276612766
ml_cmj_js_dev : t;
1276712767
ml_cmj_cmi_js : t ;
@@ -12861,8 +12861,14 @@ let make_custom_rules
1286112861
define
1286212862
~restat:()
1286312863
~command:
12864-
("$bsdep -hash " ^ digest ^" $g_ns $bsb_dir_group $in")
12865-
"build_deps" in
12864+
("$bsdep -hash " ^ digest ^" $g_ns $in")
12865+
"mk_deps" in
12866+
let build_bin_deps_dev =
12867+
define
12868+
~restat:()
12869+
~command:
12870+
("$bsdep -g -hash " ^ digest ^" $g_ns $in")
12871+
"mk_deps_dev" in
1286612872
let aux ~name ~read_cmi ~postbuild =
1286712873
let postbuild = has_postbuild && postbuild in
1286812874
define
@@ -12906,7 +12912,7 @@ let make_custom_rules
1290612912
copy_resources;
1290712913
(** Rules below all need restat *)
1290812914
build_bin_deps ;
12909-
12915+
build_bin_deps_dev;
1291012916
ml_cmj_js ;
1291112917
ml_cmj_js_dev ;
1291212918
ml_cmj_cmi_js ;
@@ -13365,12 +13371,7 @@ let emit_module_build
1336513371
oc
1336613372
~outputs:[output_d]
1336713373
~inputs:(if has_intf_file then [output_mlast;output_mliast] else [output_mlast] )
13368-
~rule:rules.build_bin_deps
13369-
?shadows:(if is_dev then
13370-
Some [{Bsb_ninja_targets.key = Bsb_build_schemas.bsb_dir_group ;
13371-
op =
13372-
Overwrite "-g" }]
13373-
else None)
13374+
~rule:(if is_dev then rules.build_bin_deps_dev else rules.build_bin_deps)
1337413375
;
1337513376
if has_intf_file then begin
1337613377
Bsb_ninja_targets.output_build oc

lib/4.06.1/unstable/bsb_native.ml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ let dev = "dev"
127127
let export_all = "all"
128128
let export_none = "none"
129129

130-
let bsb_dir_group = "bsb_dir_group"
130+
131131
let g_lib_incls = "g_lib_incls"
132132
let use_stdlib = "use-stdlib"
133133
let reason = "reason"
@@ -12775,7 +12775,7 @@ type builtin = {
1277512775
copy_resources : t;
1277612776
(** Rules below all need restat *)
1277712777
build_bin_deps : t ;
12778-
12778+
build_bin_deps_dev : t ;
1277912779
ml_cmj_js : t;
1278012780
ml_cmj_js_dev : t;
1278112781
ml_cmj_cmi_js : t ;
@@ -12910,7 +12910,7 @@ type builtin = {
1291012910
copy_resources : t;
1291112911
(** Rules below all need restat *)
1291212912
build_bin_deps : t ;
12913-
12913+
build_bin_deps_dev : t;
1291412914
ml_cmj_js : t;
1291512915
ml_cmj_js_dev : t;
1291612916
ml_cmj_cmi_js : t ;
@@ -13010,8 +13010,14 @@ let make_custom_rules
1301013010
define
1301113011
~restat:()
1301213012
~command:
13013-
("$bsdep -hash " ^ digest ^" $g_ns $bsb_dir_group $in")
13014-
"build_deps" in
13013+
("$bsdep -hash " ^ digest ^" $g_ns $in")
13014+
"mk_deps" in
13015+
let build_bin_deps_dev =
13016+
define
13017+
~restat:()
13018+
~command:
13019+
("$bsdep -g -hash " ^ digest ^" $g_ns $in")
13020+
"mk_deps_dev" in
1301513021
let aux ~name ~read_cmi ~postbuild =
1301613022
let postbuild = has_postbuild && postbuild in
1301713023
define
@@ -13055,7 +13061,7 @@ let make_custom_rules
1305513061
copy_resources;
1305613062
(** Rules below all need restat *)
1305713063
build_bin_deps ;
13058-
13064+
build_bin_deps_dev;
1305913065
ml_cmj_js ;
1306013066
ml_cmj_js_dev ;
1306113067
ml_cmj_cmi_js ;
@@ -13514,12 +13520,7 @@ let emit_module_build
1351413520
oc
1351513521
~outputs:[output_d]
1351613522
~inputs:(if has_intf_file then [output_mlast;output_mliast] else [output_mlast] )
13517-
~rule:rules.build_bin_deps
13518-
?shadows:(if is_dev then
13519-
Some [{Bsb_ninja_targets.key = Bsb_build_schemas.bsb_dir_group ;
13520-
op =
13521-
Overwrite "-g" }]
13522-
else None)
13523+
~rule:(if is_dev then rules.build_bin_deps_dev else rules.build_bin_deps)
1352313524
;
1352413525
if has_intf_file then begin
1352513526
Bsb_ninja_targets.output_build oc

0 commit comments

Comments
 (0)