Skip to content

Commit f5cb19b

Browse files
authored
emit relative dev includes (rescript-lang#82)
1 parent 080d2ac commit f5cb19b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jscomp/bsb/bsb_ninja_gen.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ let output_ninja_and_namespace_map
259259
;
260260

261261
Buffer.add_char buf '\n';
262-
Ext_option.iter namespace (fun ns ->
262+
Ext_option.iter namespace (fun ns ->
263263
let namespace_dir =
264264
Ext_path.rel_normalized_absolute_path ~from:root_dir (per_proj_dir // lib_artifacts_dir)
265265
in

jscomp/bsb/bsb_ninja_rule.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ let make_custom_rules
139139
if read_cmi = `yes then
140140
Buffer.add_string buf " -bs-read-cmi";
141141
if is_dev && global_config.g_dev_incls <> [] then begin
142-
let dev_incls = Bsb_build_util.include_dirs global_config.g_dev_incls in
142+
let dev_incls = rel_incls global_config.g_dev_incls in
143143
Buffer.add_string buf " ";
144144
Buffer.add_string buf dev_incls;
145145
end;

0 commit comments

Comments
 (0)