Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions META.js_of_ocaml-compiler.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# JBUILDER_GEN

package "runtime" (

package "weak" (
description = "weak emulation for js_of_ocaml."
version = "[distributed with js_of_ocaml-compiler]"
jsoo_runtime = "weak.js"
linkopts(javascript) = "+js_of_ocaml-compiler/weak.js"
)

package "num" (
description = "runtime support for the num library."
version = "[distributed with js_of_ocaml-compiler]"
jsoo_runtime = "nat.js"
linkopts(javascript) = "+js_of_ocaml-compiler/nat.js"
)

package "graphics" (
description = "runtime support for the graphics library."
version = "[distributed with js_of_ocaml-compiler]"
jsoo_runtime = "graphics.js"
linkopts(javascript) = "+js_of_ocaml-compiler/graphics.js"
)

)
8 changes: 5 additions & 3 deletions META.js_of_ocaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ linkopts(javascript,pkg_graphics) += "+js_of_ocaml-compiler/graphics.js"
linkopts(javascript,pkg_num) += "+js_of_ocaml-compiler/nat.js"

package "weak" (
description = "weak emulation for js_of_ocaml."
version = "[distributed with js_of_ocaml]"
linkopts(javascript) = "+js_of_ocaml-compiler/weak.js"
requires = "js_of_ocaml-compiler.runtime.weak"
)

package "num" (
requires = "js_of_ocaml-compiler.runtime.num"
)

package "ppx" (
Expand Down