You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/4.02.3/bsb.ml
+17-10Lines changed: 17 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -17009,16 +17009,23 @@ let install_target config_opt =
17009
17009
let config =
17010
17010
match config_opt with
17011
17011
| None ->
17012
-
let config = Bsb_config_parse.interpret_json ~toplevel_package_specs:None ~per_proj_dir:Bsb_global_paths.cwd in
17013
-
let _ = Ext_list.iter config.file_groups.files (fun group ->
17014
-
let check_file = match group.public with
17015
-
| Export_all -> fun _ -> true
17016
-
| Export_none -> fun _ -> false
17017
-
| Export_set set ->
17018
-
fun module_name ->
17019
-
String_set.mem set module_name in
17020
-
String_map.iter group.sources (fun module_name module_info -> if check_file module_name then begin String_hash_set.add config.files_to_install module_info.name_sans_extension end)) in
17021
-
config
17012
+
let config =
17013
+
Bsb_config_parse.interpret_json
17014
+
~toplevel_package_specs:None
17015
+
~per_proj_dir:Bsb_global_paths.cwd in
17016
+
let _ = Ext_list.iter config.file_groups.files (fun group ->
17017
+
let check_file = match group.public with
17018
+
| Export_all -> fun _ -> true
17019
+
| Export_none -> fun _ -> false
17020
+
| Export_set set ->
17021
+
fun module_name ->
17022
+
String_set.mem set module_name in
17023
+
String_map.iter group.sources
17024
+
(fun module_name module_info ->
17025
+
if check_file module_name then
17026
+
begin String_hash_set.add config.files_to_install module_info.name_sans_extension end
Copy file name to clipboardExpand all lines: lib/4.02.3/unstable/bsb_native.ml
+17-10Lines changed: 17 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -17108,16 +17108,23 @@ let install_target config_opt =
17108
17108
let config =
17109
17109
match config_opt with
17110
17110
| None ->
17111
-
let config = Bsb_config_parse.interpret_json ~toplevel_package_specs:None ~per_proj_dir:Bsb_global_paths.cwd in
17112
-
let _ = Ext_list.iter config.file_groups.files (fun group ->
17113
-
let check_file = match group.public with
17114
-
| Export_all -> fun _ -> true
17115
-
| Export_none -> fun _ -> false
17116
-
| Export_set set ->
17117
-
fun module_name ->
17118
-
String_set.mem set module_name in
17119
-
String_map.iter group.sources (fun module_name module_info -> if check_file module_name then begin String_hash_set.add config.files_to_install module_info.name_sans_extension end)) in
17120
-
config
17111
+
let config =
17112
+
Bsb_config_parse.interpret_json
17113
+
~toplevel_package_specs:None
17114
+
~per_proj_dir:Bsb_global_paths.cwd in
17115
+
let _ = Ext_list.iter config.file_groups.files (fun group ->
17116
+
let check_file = match group.public with
17117
+
| Export_all -> fun _ -> true
17118
+
| Export_none -> fun _ -> false
17119
+
| Export_set set ->
17120
+
fun module_name ->
17121
+
String_set.mem set module_name in
17122
+
String_map.iter group.sources
17123
+
(fun module_name module_info ->
17124
+
if check_file module_name then
17125
+
begin String_hash_set.add config.files_to_install module_info.name_sans_extension end
0 commit comments