Skip to content

Commit e23058a

Browse files
committed
hide clean -with-deps as internal option (cherry)
when clean, it will clean its dependency by default, since it is only used in trouble shooting
1 parent eaff193 commit e23058a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

jscomp/main/rescript_main.ml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,11 @@ let clean_subcommand ~start argv =
179179
Bsb_arg.parse_exn
180180
~usage:clean_usage ~start ~argv [|
181181
"-with-deps", unit_set_spec make_world,
182-
"Clean dependencies too";
182+
"*internal* Clean dependencies too";
183183
"-verbose", call_spec Bsb_log.verbose,
184184
"Set the output to be verbose";
185185
|] failed_annon;
186-
if !make_world then
187-
Bsb_clean.clean_bs_deps Bsb_global_paths.cwd ;
186+
Bsb_clean.clean_bs_deps Bsb_global_paths.cwd ;
188187
Bsb_clean.clean_self Bsb_global_paths.cwd
189188
let init_usage = "Init the project\n\
190189
rescript init [project-name]\n\

0 commit comments

Comments
 (0)