Merge pull request #471 from rgrinberg/jsoo-install-tests
Add tests of js_of_ocaml flag
This commit is contained in:
commit
5881f4301d
|
@ -4,6 +4,7 @@
|
|||
((name foo)
|
||||
(modules (foo))
|
||||
(install_c_headers (cfoo))
|
||||
(js_of_ocaml ((javascript_files (foo.js))))
|
||||
(wrapped false)
|
||||
(public_name foo)))
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
"_build/install/default/lib/foo/foo.cmxa"
|
||||
"_build/install/default/lib/foo/foo.a"
|
||||
"_build/install/default/lib/foo/foo.cmxs"
|
||||
"_build/install/default/lib/foo/foo.js"
|
||||
"_build/install/default/lib/foo/cfoo.h"
|
||||
"_build/install/default/lib/foo/byte/foo_byte.cmi" {"byte/foo_byte.cmi"}
|
||||
"_build/install/default/lib/foo/byte/foo_byte.cmt" {"byte/foo_byte.cmt"}
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
(library
|
||||
((name foobar_runtime_lib2)
|
||||
(js_of_ocaml ((javascript_files (foobar_runtime.js foobar_runtime2.js))))
|
||||
(public_name foobar.runtime-lib2)
|
||||
(synopsis "runtime library for foobar.rewriter2")))
|
||||
|
||||
|
|
|
@ -59,6 +59,9 @@
|
|||
archive(native) = "foobar_runtime_lib2.cmxa"
|
||||
plugin(byte) = "foobar_runtime_lib2.cma"
|
||||
plugin(native) = "foobar_runtime_lib2.cmxs"
|
||||
linkopts(javascript) = "+foobar/foobar_runtime.js
|
||||
+foobar/foobar_runtime2.js"
|
||||
jsoo_runtime = "foobar_runtime.js foobar_runtime2.js"
|
||||
)
|
||||
package "sub" (
|
||||
directory = "sub"
|
||||
|
|
Loading…
Reference in New Issue