File tree Expand file tree Collapse file tree 4 files changed +20
-8
lines changed Expand file tree Collapse file tree 4 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 177
177
},
178
178
"ppx-flags" : {
179
179
"$ref" : " #/definitions/ppx-specs" ,
180
- "description" : " TODO: ppx flags "
180
+ "description" : " syntax is package_name/binary, for example: reason/reactjs_jsx_ppx.native "
181
181
},
182
182
"bsc-flags" : {
183
183
"$ref" : " #/definitions/stringArray" ,
184
184
"description" : " A list of flags for bsc.exe"
185
185
},
186
186
"package-specs" : {
187
187
"$ref" : " #/definitions/package-specs" ,
188
- "description" : " TODO: currently only support commonjs"
188
+ "description" : " currently support commonjs, amdjs and google module "
189
189
},
190
190
"ocamllex" : {
191
191
"type" : " string" ,
201
201
},
202
202
"refmt" : {
203
203
"type" : " string" ,
204
- "description" : " Path to refmt"
204
+ "description" : " Path to refmt for Reason syntax, for example: reason/refmt_impl.native "
205
205
},
206
206
"bs-external-includes" : {
207
207
"$ref" : " #/definitions/stringArray" ,
208
- "description" : " external include directories, which will be applied -I to all compilation units, it is not needed in most cases"
208
+ "description" : " external include directories, which will be applied -I to all compilation units, it is * not needed* in most cases"
209
209
},
210
210
"sources" : {
211
211
"oneOf" : [
212
212
{
213
213
"type" : " array" ,
214
214
"items" : {
215
215
"$ref" : " #/definitions/sourceItem"
216
- }
216
+ },
217
+ "description" : " A list of source items"
217
218
},
218
219
{
219
- "$ref" : " #/definitions/sourceItem"
220
+ "$ref" : " #/definitions/sourceItem" ,
221
+ "description" : " A single source item"
220
222
}
221
223
]
222
224
},
Original file line number Diff line number Diff line change @@ -251,8 +251,10 @@ OTHER_CORE_SRCS= bsppx_main bspack_main jsoo_main bspp_main js_cmi_datasets \
251
251
js_main
252
252
OTHER_CORE_CMXS = $(addprefix core/, $(addsuffix .cmx, $(OTHER_CORE_SRCS ) ) )
253
253
BSB_SRCS = bsb_config bsb_build_schemas bsb_build_util \
254
- bsb_dep_infos bsb_dir bsb_ninja \
255
- bsb_build_ui bsb_default bsb_gen\
254
+ bsb_dir bsb_ninja \
255
+ bsb_build_ui bsb_default\
256
+ bsb_dep_infos\
257
+ bsb_gen\
256
258
bsb_unix
257
259
258
260
BSB_CMXS =$(addprefix bsb/, $(addsuffix .cmx, $(BSB_SRCS ) ) )
Original file line number Diff line number Diff line change @@ -105780,6 +105780,9 @@ let buckle_script_flags =
105780
105780
" only check syntax"
105781
105781
)
105782
105782
::
105783
+ ("-bs-no-bin-annot", Arg.Clear Clflags.binary_annotations,
105784
+ " disable binary annotations (by default on)")
105785
+ ::
105783
105786
("-bs-eval",
105784
105787
Arg.String set_eval_string,
105785
105788
" (experimental) Set the string to be evaluated, note this flag will be conflicted with -bs-main"
@@ -105883,6 +105886,7 @@ let buckle_script_flags =
105883
105886
let _ =
105884
105887
Clflags.unsafe_string := false;
105885
105888
Clflags.debug := true;
105889
+ Clflags.binary_annotations := true;
105886
105890
Bs_conditional_initial.setup_env ();
105887
105891
try
105888
105892
Compenv.readenv ppf Before_args;
Original file line number Diff line number Diff line change @@ -155,6 +155,9 @@ let buckle_script_flags =
155
155
" only check syntax"
156
156
)
157
157
::
158
+ (" -bs-no-bin-annot" , Arg. Clear Clflags. binary_annotations,
159
+ " disable binary annotations (by default on)" )
160
+ ::
158
161
(" -bs-eval" ,
159
162
Arg. String set_eval_string,
160
163
" (experimental) Set the string to be evaluated, note this flag will be conflicted with -bs-main"
@@ -258,6 +261,7 @@ let buckle_script_flags =
258
261
let _ =
259
262
Clflags. unsafe_string := false ;
260
263
Clflags. debug := true ;
264
+ Clflags. binary_annotations := true ;
261
265
Bs_conditional_initial. setup_env () ;
262
266
try
263
267
Compenv. readenv ppf Before_args ;
You can’t perform that action at this time.
0 commit comments