Skip to content

Commit b419eb7

Browse files
committed
snapshot
1 parent e23a37f commit b419eb7

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

lib/4.06.1/bsb.ml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16650,41 +16650,41 @@ let print_version_string () =
1665016650

1665116651
let bsb_main_flags : (string * Arg.spec * string) list=
1665216652
[
16653-
"-v", Arg.Unit print_version_string,
16653+
"-v", Unit print_version_string,
1665416654
" Print version and exit";
16655-
"-version", Arg.Unit print_version_string,
16655+
"-version", Unit print_version_string,
1665616656
" Print version and exit";
16657-
"-verbose", Arg.Unit Bsb_log.verbose,
16657+
"-verbose", Unit Bsb_log.verbose,
1665816658
" Set the output(from bsb) to be verbose";
16659-
"-w", Arg.Set watch_mode,
16659+
"-w", Set watch_mode,
1666016660
" Watch mode" ;
16661-
"-clean-world", Arg.Unit (fun _ ->
16661+
"-clean-world", Unit (fun _ ->
1666216662
Bsb_clean.clean_bs_deps Bsb_global_paths.cwd),
1666316663
" Clean all bs dependencies";
16664-
"-clean", Arg.Unit (fun _ ->
16664+
"-clean", Unit (fun _ ->
1666516665
Bsb_clean.clean_self Bsb_global_paths.cwd),
1666616666
" Clean only current project";
16667-
"-make-world", Arg.Unit set_make_world,
16667+
"-make-world", Unit set_make_world,
1666816668
" Build all dependencies and itself ";
16669-
"-install", Arg.Set do_install,
16669+
"-install", Set do_install,
1667016670
" Install public interface files into lib/ocaml";
16671-
"-init", Arg.String (fun path -> generate_theme_with_path := Some path),
16671+
"-init", String (fun path -> generate_theme_with_path := Some path),
1667216672
" Init sample project to get started. Note (`bsb -init sample` will create a sample project while `bsb -init .` will reuse current directory)";
16673-
"-theme", Arg.String set_theme,
16673+
"-theme", String set_theme,
1667416674
" The theme for project initialization, default is basic(https://github.com/bucklescript/bucklescript/tree/master/jscomp/bsb/templates)";
1667516675

16676-
regen, Arg.Set force_regenerate,
16676+
regen, Set force_regenerate,
1667716677
" (internal) Always regenerate build.ninja no matter bsconfig.json is changed or not (for debugging purpose)";
16678-
"-themes", Arg.Unit Bsb_theme_init.list_themes,
16678+
"-themes", Unit Bsb_theme_init.list_themes,
1667916679
" List all available themes";
1668016680
"-where",
16681-
Arg.Unit (fun _ ->
16681+
Unit (fun _ ->
1668216682
print_endline (Filename.dirname Sys.executable_name)),
1668316683
" Show where bsb.exe is located";
1668416684
(** Below flags are only for bsb script, it is not available for bsb.exe
1668516685
we make it at this time to make `bsb -help` easier
1668616686
*)
16687-
"-ws", Arg.Bool ignore,
16687+
"-ws", Bool ignore,
1668816688
" [host:]port specify a websocket number (and optionally, a host). When a build finishes, we send a message to that port. For tools that listen on build completion." ;
1668916689

1669016690
]

lib/4.06.1/unstable/bsb_native.ml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16807,44 +16807,44 @@ let print_version_string () =
1680716807

1680816808
let bsb_main_flags : (string * Arg.spec * string) list=
1680916809
[
16810-
"-v", Arg.Unit print_version_string,
16810+
"-v", Unit print_version_string,
1681116811
" Print version and exit";
16812-
"-version", Arg.Unit print_version_string,
16812+
"-version", Unit print_version_string,
1681316813
" Print version and exit";
16814-
"-verbose", Arg.Unit Bsb_log.verbose,
16814+
"-verbose", Unit Bsb_log.verbose,
1681516815
" Set the output(from bsb) to be verbose";
16816-
"-w", Arg.Set watch_mode,
16816+
"-w", Set watch_mode,
1681716817
" Watch mode" ;
16818-
"-clean-world", Arg.Unit (fun _ ->
16818+
"-clean-world", Unit (fun _ ->
1681916819
Bsb_clean.clean_bs_deps Bsb_global_paths.cwd),
1682016820
" Clean all bs dependencies";
16821-
"-clean", Arg.Unit (fun _ ->
16821+
"-clean", Unit (fun _ ->
1682216822
Bsb_clean.clean_self Bsb_global_paths.cwd),
1682316823
" Clean only current project";
16824-
"-make-world", Arg.Unit set_make_world,
16824+
"-make-world", Unit set_make_world,
1682516825
" Build all dependencies and itself ";
16826-
"-install", Arg.Set do_install,
16826+
"-install", Set do_install,
1682716827
" Install public interface files into lib/ocaml";
16828-
"-init", Arg.String (fun path -> generate_theme_with_path := Some path),
16828+
"-init", String (fun path -> generate_theme_with_path := Some path),
1682916829
" Init sample project to get started. Note (`bsb -init sample` will create a sample project while `bsb -init .` will reuse current directory)";
16830-
"-theme", Arg.String set_theme,
16830+
"-theme", String set_theme,
1683116831
" The theme for project initialization, default is basic(https://github.com/bucklescript/bucklescript/tree/master/jscomp/bsb/templates)";
1683216832

16833-
regen, Arg.Set force_regenerate,
16833+
regen, Set force_regenerate,
1683416834
" (internal) Always regenerate build.ninja no matter bsconfig.json is changed or not (for debugging purpose)";
16835-
"-themes", Arg.Unit Bsb_theme_init.list_themes,
16835+
"-themes", Unit Bsb_theme_init.list_themes,
1683616836
" List all available themes";
1683716837
"-where",
16838-
Arg.Unit (fun _ ->
16838+
Unit (fun _ ->
1683916839
print_endline (Filename.dirname Sys.executable_name)),
1684016840
" Show where bsb.exe is located";
1684116841
(** Below flags are only for bsb script, it is not available for bsb.exe
1684216842
we make it at this time to make `bsb -help` easier
1684316843
*)
16844-
"-ws", Arg.Bool ignore,
16844+
"-ws", Bool ignore,
1684516845
" [host:]port specify a websocket number (and optionally, a host). When a build finishes, we send a message to that port. For tools that listen on build completion." ;
1684616846

16847-
"-backend", Arg.String (fun s ->
16847+
"-backend", String (fun s ->
1684816848
match s with
1684916849
| "js" -> Bsb_global_backend.set_backend Bsb_config_types.Js
1685016850
| "native" -> Bsb_global_backend.set_backend Bsb_config_types.Native

0 commit comments

Comments
 (0)