forked from rescript-lang/rescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
esy.json
85 lines (85 loc) · 2.53 KB
/
esy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "bs-platform",
"version": "5.2.0-dev.2",
"dependencies": {
"ocaml": "4.02.3000+BS"
},
"devDependencies": {
"ocaml": "4.02.3000+BS"
},
"resolutions": {
"ocaml": "bucklescript/ocaml:package.json#698e60f3cd2f442f2013e79860ce2f7b0a9624cb"
},
"scripts": {
"clean": "node ./scripts/ninja.js clean"
},
"esy": {
"buildsInSource": true,
"build": [
["node", "./scripts/install.js"],
["cp", "-r", "-f", "#{self.root / 'bsconfig.json'}", "#{self.install}"],
["cp", "-r", "-f", "#{self.root / 'esy.json'}", "#{self.install}"],
["cp", "-r", "-f", "#{self.root / 'package.json'}", "#{self.install}"],
["cp", "-r", "-f", "#{self.root / 'jscomp'}", "#{self.install}"],
["cp", "-r", "-f", "#{self.root / 'jscomp' / 'bin'}", "#{self.install}"],
["cp", "-r", "-f", "#{self.root / 'lib'}", "#{self.install}"],
["cp", "-r", "-f", "#{self.root / 'scripts'}", "#{self.install}"],
["cp", "-r", "-f", "#{self.root / 'vendor'}", "#{self.install}"]
],
"buildDev": [
["echo", "config"],
["node", "./scripts/ninja.js", "config"],
["echo", "build"],
["node", "./scripts/ninja.js", "build"]
],
"buildEnv": {
"ESY": "true"
},
"exportedEnv": {
"OCAMLLIB": {
"val": "#{self.lib / 'ocaml' }",
"scope": "global"
},
"CAML_LD_LIBRARY_PATH": {
"val": "#{self.lib / 'ocaml' / 'stublibs' : self.lib / 'ocaml' : $CAML_LD_LIBRARY_PATH}",
"scope": "global"
},
"OCAML_TOPLEVEL_PATH": {
"val": "#{self.lib / 'ocaml' }",
"scope": "global"
},
"bs_custom_resolution": {
"val": "true",
"scope": "global"
},
"bs_platform__install": {
"val": "#{self.install}",
"scope": "global"
},
"PATH": {
"val": "#{self.lib : $PATH}",
"scope": "global"
}
}
},
"description": "bucklescript compiler for use in esy, ocaml standard libary by bucklescript and its required runtime support",
"repository": {
"type": "git",
"url": "git+https://github.com/bucklescript/bucklescript.git"
},
"keywords": ["ocaml", "bucklescript", "stdlib", "functional programming"],
"author": {
"name": "Hongbo Zhang"
},
"maintainers": [
{
"name": "hongbo_zhang",
"email": "[email protected]"
}
],
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/bucklescript/bucklescript/issues"
},
"homepage": "https://github.com/bucklescript/bucklescript#readme"
}