Skip to content

Commit f84abe8

Browse files
committed
now with Js module support
1 parent 5a108ca commit f84abe8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

jscomp/bin/bs_ppx.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(** Bundled by ocamlpack 08/11-11:32 *)
1+
(** Bundled by ocamlpack 08/11-22:12 *)
22
module String_map : sig
33
#1 "string_map.mli"
44
(* Copyright (C) 2015-2016 Bloomberg Finance L.P.
@@ -2923,6 +2923,7 @@ let runtime_set =
29232923
array ;
29242924
format ;
29252925
string ;
2926+
bytes;
29262927
float ;
29272928
hash ;
29282929
oo ;

jscomp/bin/compiler.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(** Bundled by ocamlpack 08/11-11:32 *)
1+
(** Bundled by ocamlpack 08/11-22:12 *)
22
module String_map : sig
33
#1 "string_map.mli"
44
(* Copyright (C) 2015-2016 Bloomberg Finance L.P.
@@ -2923,6 +2923,7 @@ let runtime_set =
29232923
array ;
29242924
format ;
29252925
string ;
2926+
bytes;
29262927
float ;
29272928
hash ;
29282929
oo ;

jscomp/js.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
# ocamlbuild -use-ocamlfind -no-hygiene -syntax camlp4o -pkgs js_of_ocaml,js_of_ocaml.syntax,js_of_ocaml.toplevel exports.byte
55

66
ocamlbuild -lflags -no-check-prims -use-ocamlfind -no-hygiene -pkgs compiler-libs.bytecomp -no-links jsoo_exports.byte
7-
js_of_ocaml -I +compiler-libs --toplevel +dynlink.js +toplevel.js +weak.js _build/jsoo_exports.byte -I ./runtime/ --file js.cmi:/cmis js_unsafe.cmi:/cmis js_re.cmi:/cmis -o _build/exports.js
7+
js_of_ocaml -I +compiler-libs --toplevel +dynlink.js +toplevel.js +weak.js _build/jsoo_exports.byte -I ./runtime/ --file js.cmi:/cmis --file js_unsafe.cmi:/cmis --file js_re.cmi:/cmis -o _build/exports.js
88

99
rm -rf $BUCKLESCRIPT_DOC/js-demo/exports.js && cp _build/exports.js $BUCKLESCRIPT_DOC/js-demo/
1010

0 commit comments

Comments
 (0)