Skip to content

Commit

Permalink
emit relative dev includes (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro authored Mar 28, 2021
1 parent 080d2ac commit f5cb19b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jscomp/bsb/bsb_ninja_gen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ let output_ninja_and_namespace_map
;

Buffer.add_char buf '\n';
Ext_option.iter namespace (fun ns ->
Ext_option.iter namespace (fun ns ->
let namespace_dir =
Ext_path.rel_normalized_absolute_path ~from:root_dir (per_proj_dir // lib_artifacts_dir)
in
Expand Down
2 changes: 1 addition & 1 deletion jscomp/bsb/bsb_ninja_rule.ml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ let make_custom_rules
if read_cmi = `yes then
Buffer.add_string buf " -bs-read-cmi";
if is_dev && global_config.g_dev_incls <> [] then begin
let dev_incls = Bsb_build_util.include_dirs global_config.g_dev_incls in
let dev_incls = rel_incls global_config.g_dev_incls in
Buffer.add_string buf " ";
Buffer.add_string buf dev_incls;
end;
Expand Down

0 comments on commit f5cb19b

Please sign in to comment.