Skip to content

Commit d8d5140

Browse files
committed
Add package.json for esy
1 parent d12e425 commit d8d5140

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

package.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "ocaml",
3+
"version": "4.02.3000+BS",
4+
"description": "BuckleScript's OCaml Compiler as an npm Package",
5+
"esy": {
6+
"build": [
7+
"./configure -no-cfi -prefix $cur__install",
8+
"make -j world.opt"
9+
],
10+
"install": [
11+
"make install"
12+
],
13+
"buildsInSource": true,
14+
"exportedEnv": {
15+
"OCAMLLIB": {
16+
"val": "#{self.lib / 'ocaml' }",
17+
"scope": "global"
18+
},
19+
"CAML_LD_LIBRARY_PATH": {
20+
"val": "#{self.lib / 'ocaml' / 'stublibs' : self.lib / 'ocaml' : $CAML_LD_LIBRARY_PATH}",
21+
"scope": "global"
22+
},
23+
"OCAML_TOPLEVEL_PATH": {
24+
"val": "#{self.lib / 'ocaml' }",
25+
"scope": "global"
26+
}
27+
}
28+
},
29+
"repository": {
30+
"type": "git",
31+
"url": "git://github.com/BuckleScript/ocaml.git"
32+
},
33+
"keywords": [
34+
"ocaml",
35+
"flow",
36+
"opam"
37+
],
38+
"license": "QPL - See LICENSE at https://github.com/ocaml/ocaml"
39+
}

0 commit comments

Comments
 (0)