forked from rescript-lang/rescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathesy.json
89 lines (89 loc) · 2.94 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
86
87
88
89
{
"name": "bs-platform",
"version": "7.2.0",
"dependencies": {
"ocaml": "4.6.1000+BS"
},
"devDependencies": {
"ocaml": "4.6.1000+BS"
},
"resolutions": {
"ocaml": "bucklescript/ocaml:package.json#bf88fbf88d4e305bab82259def35a4492e475400"
},
"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}"],
["cp", "-r", "-f", "#{self.root / 'darwin'}", "#{self.bin}"],
["cp", "-r", "-f", "#{self.root / 'freebsd'}", "#{self.bin}"],
["cp", "-r", "-f", "#{self.root / 'linux'}", "#{self.bin}"],
["cp", "-r", "-f", "#{self.root / 'win32'}", "#{self.bin}"],
["cp", "-f", "#{self.root / 'bsb'}", "#{self.bin}"],
["cp", "-f", "#{self.root / 'bsc'}", "#{self.bin}"],
["cp", "-f", "#{self.root / 'bsrefmt'}", "#{self.bin}"],
["cp", "-f", "#{self.root / 'lib/bstracing'}", "#{self.bin}"]
],
"buildDev": [
["echo", "config"],
["node", "./scripts/ninja.js", "config"],
["echo", "build"],
["node", "./scripts/ninja.js", "build"]
],
"buildEnv": {
"ESY": "true"
},
"exportedEnv": {
"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"
}