File tree Expand file tree Collapse file tree 7 files changed +4
-78334
lines changed Expand file tree Collapse file tree 7 files changed +4
-78334
lines changed Original file line number Diff line number Diff line change @@ -165,9 +165,8 @@ let interpret_json
165
165
match String_map. find_opt Bsb_build_schemas. refmt map with
166
166
| Some (Flo {flo} as config ) ->
167
167
begin match flo with
168
- | "2" -> Bsb_config_types. Refmt_v2
169
- | "3" -> Refmt_v3
170
- | _ -> Bsb_exception. config_error config " expect version 2 or 3"
168
+ | "3" -> Bsb_config_types. Refmt_v3
169
+ | _ -> Bsb_exception. config_error config " expect version 3 only"
171
170
end
172
171
| Some (Str {str})
173
172
->
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ type reason_react_jsx = string option
37
37
38
38
type refmt =
39
39
| Refmt_none
40
- | Refmt_v2
41
40
| Refmt_v3
42
41
| Refmt_custom of string
43
42
type t =
Original file line number Diff line number Diff line change @@ -124,9 +124,6 @@ let output_ninja_and_namespace_map
124
124
[|
125
125
Bsb_ninja_global_vars. refmt,
126
126
(match refmt with
127
- | Refmt_v2 ->
128
- Bsb_log. warn " @{<warning>Warning:@} ReasonSyntax V2 is deprecated, please upgrade to V3.@." ;
129
- bsc_dir // " refmt.exe"
130
127
| Refmt_none ->
131
128
Bsb_log. warn " @{<warning>Warning:@} refmt version missing. Please set it explicitly, since we may change the default in the future.@." ;
132
129
bsc_dir // " refmt.exe"
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ bsb.exe: bsb.mli bsb.ml
19
19
bsb_helper.exe : bsb_helper.mli bsb_helper.ml
20
20
$(NATIVE ) $(OCAMLOPT_FLAGS ) unix.cmxa -w -a $^ -o $@
21
21
22
- refmt.exe : refmt_main.mli refmt_main.ml
23
- $(NATIVE ) -w -40-30 -no-alias-deps -I +compiler-libs ocamlcommon.cmxa $^ -o $@
24
22
25
23
refmt3.exe : refmt_main3.mli refmt_main3.ml
26
24
$(NATIVE ) -w -40-30 -no-alias-deps -I +compiler-libs ocamlcommon.cmxa $^ -o $@
Original file line number Diff line number Diff line change @@ -10098,7 +10098,6 @@ type reason_react_jsx = string option
10098
10098
10099
10099
type refmt =
10100
10100
| Refmt_none
10101
- | Refmt_v2
10102
10101
| Refmt_v3
10103
10102
| Refmt_custom of string
10104
10103
type t =
@@ -10730,9 +10729,8 @@ let interpret_json
10730
10729
match String_map. find_opt Bsb_build_schemas. refmt map with
10731
10730
| Some (Flo {flo} as config ) ->
10732
10731
begin match flo with
10733
- | "2" -> Bsb_config_types. Refmt_v2
10734
- | "3" -> Refmt_v3
10735
- | _ -> Bsb_exception. config_error config " expect version 2 or 3"
10732
+ | "3" -> Bsb_config_types. Refmt_v3
10733
+ | _ -> Bsb_exception. config_error config " expect version 3 only"
10736
10734
end
10737
10735
| Some (Str {str})
10738
10736
->
@@ -12496,9 +12494,6 @@ let output_ninja_and_namespace_map
12496
12494
[|
12497
12495
Bsb_ninja_global_vars. refmt,
12498
12496
(match refmt with
12499
- | Refmt_v2 ->
12500
- Bsb_log. warn " @{<warning>Warning:@} ReasonSyntax V2 is deprecated, please upgrade to V3.@." ;
12501
- bsc_dir // " refmt.exe"
12502
12497
| Refmt_none ->
12503
12498
Bsb_log. warn " @{<warning>Warning:@} refmt version missing. Please set it explicitly, since we may change the default in the future.@." ;
12504
12499
bsc_dir // " refmt.exe"
You can’t perform that action at this time.
0 commit comments