Skip to content
Browse files

[fix] build: prefix files whose parser will change

  • Loading branch information...
1 parent cdfbbd4 commit 14cda9d11829bc520fca4538be7c397d5d847cee @Aqua-Ye Aqua-Ye committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 tools/build/build_rules.ml
View
3 tools/build/build_rules.ml
@@ -193,6 +193,7 @@ in
let stdlib_packages_dir = prefix_me "lib"/"stdlib" in
let stdlib_parser_options =
let files = string_list_of_file (stdlib_packages_dir/"new_syntax") in
+ let files = List.map prefix_me files in
[A "--parser" ; A (fmt_sprintf "js-like:%a" (pp_list "," Format.pp_print_string) files)
;A "--parser" ; A "classic"
]
@@ -208,7 +209,7 @@ let opacapi_validation_rule ?(opts=[]) name prod =
P prod ;
]
@ (List.rev_map (fun file -> P file) opa_opacapi_files)
- @ stdlib_parser_options
+ @ stdlib_parser_options
@ opts
)
)

0 comments on commit 14cda9d

Please sign in to comment.
Something went wrong with that request. Please try again.