@@ -7887,7 +7887,31 @@ let info_args (args : string array) =
78877887end
78887888module Bsb_real_path : sig
78897889#1 "bsb_real_path.mli"
7890- val real_path : string -> string
7890+
7891+ (* Copyright (C) 2020- Authors of BuckleScript
7892+ *
7893+ * This program is free software: you can redistribute it and/or modify
7894+ * it under the terms of the GNU Lesser General Public License as published by
7895+ * the Free Software Foundation, either version 3 of the License, or
7896+ * (at your option) any later version.
7897+ *
7898+ * In addition to the permissions granted to you by the LGPL, you may combine
7899+ * or link a "work that uses the Library" with a publicly distributed version
7900+ * of this file to produce a combined library or application, then distribute
7901+ * that combined work under the terms of your choosing, with no requirement
7902+ * to comply with the obligations normally placed on you by section 4 of the
7903+ * LGPL version 3 (or the corresponding section of a later version of the LGPL
7904+ * should you choose to use a later version).
7905+ *
7906+ * This program is distributed in the hope that it will be useful,
7907+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
7908+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7909+ * GNU Lesser General Public License for more details.
7910+ *
7911+ * You should have received a copy of the GNU Lesser General Public License
7912+ * along with this program; if not, write to the Free Software
7913+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
7914+
78917915
78927916val is_same_paths_via_io : string -> string -> bool
78937917
@@ -16534,7 +16558,12 @@ let bsb_main_flags : (string * Arg.spec * string) list=
1653416558 "-where",
1653516559 Arg.Unit (fun _ ->
1653616560 print_endline (Filename.dirname Sys.executable_name)),
16537- " Show where bsb.exe is located"
16561+ " Show where bsb.exe is located";
16562+ (** Below flags are only for bsb script, it is not available for bsb.exe
16563+ we make it at this time to make `bsb -help` easier
16564+ *)
16565+ "-ws", Arg.Bool ignore,
16566+ " [host:]port specify the websocket number so that when a build is finished, we send such websocket port number a signal"
1653816567 ]
1653916568
1654016569
0 commit comments