Skip to content

Commit

Permalink
Fix iocamljs as per js_of_ocaml#318
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewray committed Dec 21, 2015
1 parent 7df4d0b commit 32b38f9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -46,7 +46,7 @@ min: iocamljs.cma
-dont-export-unit gc \
-export-unit iocaml \
iocamljs.cma \
-jsopt +weak.js -jsopt +toplevel.js \
-jsopt +weak.js -jsopt +dynlink.js -jsopt +toplevel.js \
-jsopt -I -jsopt ./ \
-o iocaml.byte
cat *.cmis.js kernel.js iocaml.js > static/services/kernels/js/kernel.min.js
Expand All @@ -61,7 +61,7 @@ full: iocamljs.cma
-export-package js_of_ocaml \
-export-unit iocaml \
iocamljs.cma \
-jsopt +weak.js -jsopt +toplevel.js \
-jsopt +weak.js -jsopt +dynlink.js -jsopt +toplevel.js \
-jsopt -I -jsopt ./ \
-o iocaml.byte
cat *.cmis.js kernel.js iocaml.js > static/services/kernels/js/kernel.full.js
Expand All @@ -82,7 +82,7 @@ tyxml: iocamljs.cma
-export-unit svg_sigs \
-export-unit svg_types \
iocamljs.cma \
-jsopt +weak.js -jsopt +toplevel.js \
-jsopt +weak.js -jsopt +dynlink.js -jsopt +toplevel.js \
-jsopt -I -jsopt ./ \
-o iocaml.byte
cat *.cmis.js kernel.js iocaml.js > static/services/kernels/js/kernel.tyxml.js
Expand Down
14 changes: 14 additions & 0 deletions opam
@@ -0,0 +1,14 @@
opam-version: "1.1"
maintainer: "andy.ray@ujamjar.com"
homepage: "https://github.com/andrewray/iocamljs"
build: [
[ make "clean" "min" ]
[ make "clean" "full" ]
]
depends: [
"ocamlfind"
"optcomp"
"lwt" {>= "2.4"}
"js_of_ocaml" {>= "2.4.1"}
]
ocaml-version: [ >= "4.00.1" ]

0 comments on commit 32b38f9

Please sign in to comment.