-
Notifications
You must be signed in to change notification settings - Fork 428
/
esy.json
55 lines (55 loc) · 2.21 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
{
"name": "reason-cli",
"notes": "This is just the dev package config (also built as globally installable reason-cli). See ./refmt.json ./rtop.json for individual release package configs.",
"license": "MIT",
"version": "3.8.2",
"dependencies": {
"@opam/dune": "> 3.0.0",
"@opam/dune-build-info": "> 3.0.0",
"@opam/fix": "*",
"@opam/menhir": " >= 20180523.0.0",
"@opam/merlin-extend": " >= 0.6.1",
"@opam/ocamlfind": "*",
"@opam/ppx_derivers": "*",
"@opam/ppxlib": "> 0.28.x",
"@opam/utop": " >= 1.17.0",
"ocaml": " >= 4.3.0 < 4.15.0"
},
"devDependencies": {
"@opam/odoc": "*",
"ocaml": "~4.14.0"
},
"notes-ctd": [
"This is how you make an esy monorepo for development, but then release the monorepo as many individual packages:",
"1. Create a packageName-dev esy.json at the root and list the sum of all dependencies",
"2. Set the esy.build command to build a comma delimited list of the package names",
"3. Set the esy.install command to install each of those packages",
"4. Create separate esy.json files for each of those packages (see ./scripts/esy/)",
"5. Copy ./scripts/esy-prepublish.js in to your repo and change packages= to your set of packages."
],
"esy": {
"build": [ [ "dune", "build", "-p", "reason,rtop", "--disable-promotion" ] ],
"install": [
[ "esy-installer", "reason.install" ],
[ "esy-installer", "rtop.install" ]
],
"exportedEnv": {
"INPUT_ARGUMENTS": { "scope": "global", "val": "a" },
"BUILD_REQUESTEDFOREMAIL": { "scope": "global", "val": "b" },
"VSTS_SECRET_VARIABLES": { "scope": "global", "val": "c" },
"SYSTEM_PULLREQUEST_MERGEDAT": { "scope": "global", "val": "d" }
},
"release": {
"bin": [ "rtop", "refmt" ],
"includePackages": [
"root", "@opam/base-bytes", "@opam/base-threads", "@opam/base-unix",
"@opam/camomile", "@opam/lambda-term", "@opam/lwt", "@opam/lwt_log",
"@opam/lwt_react", "@opam/menhir", "@opam/mmap",
"@opam/ocplib-endian", "@opam/ocamlfind", "@opam/ppx_derivers",
"@opam/react", "@opam/seq", "@opam/charInfo_width",
"@opam/utop", "@opam/zed", "ocaml"
],
"rewritePrefix": true
}
}
}