Skip to content

Commit 3799001

Browse files
committed
Add opam files for cross compilation on OSX and Windows
1 parent 2368621 commit 3799001

21 files changed

+1200
-4
lines changed

Makefile.header

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,5 @@ compile-release:
3131

3232
opam-cross:
3333
drom dep --cross osx
34-
rm -f opam/osx/*vscode*.opam
35-
rm -f opam/osx/*-js-*.opam
3634
drom dep --cross windows
37-
rm -f opam/windows/*vscode*.opam
38-
rm -f opam/windows/*-js-*.opam
3935

opam/osx/interop-js-stubs-osx.opam

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# This file was generated by `drom` from `drom.toml`.
2+
# Do not modify, or add to the `skip` field of `drom.toml`.
3+
opam-version: "2.0"
4+
name: "interop-js-stubs"
5+
version: "0.1.0"
6+
license: "MIT"
7+
synopsis: "The superbol-vscode-platform project"
8+
description: """\
9+
This is the description
10+
of the superbol-vscode-platform OCaml project
11+
"""
12+
authors: [
13+
"Fabrice Le Fessant <[email protected]>"
14+
"Emilien Lemaire <[email protected]>"
15+
]
16+
maintainer: [
17+
"Fabrice Le Fessant <[email protected]>"
18+
"Emilien Lemaire <[email protected]>"
19+
]
20+
homepage: "https://ocamlpro.github.io/superbol-vscode-platform"
21+
doc: "https://ocamlpro.github.io/superbol-vscode-platform/sphinx"
22+
bug-reports: "https://github.com/ocamlpro/superbol-vscode-platform/issues"
23+
dev-repo: "git+https://github.com/ocamlpro/superbol-vscode-platform.git"
24+
tags: "org:ocamlpro"
25+
build: [
26+
["dune" "subst"] {dev}
27+
["sh" "-c" "./scripts/before.sh build '%{name}%'"]
28+
[
29+
"dune"
30+
"build"
31+
"-p"
32+
"interop-js-stubs"
33+
"-x"
34+
"osx"
35+
"-j"
36+
jobs
37+
"@install"
38+
"@runtest" {with-test}
39+
"@doc" {with-doc}
40+
]
41+
["sh" "-c" "./scripts/after.sh build '%{name}%'"]
42+
]
43+
install: [
44+
["sh" "-c" "./scripts/before.sh install '%{name}%'"]
45+
]
46+
depends: [
47+
"ocaml" {>= "4.13.0"}
48+
"dune" {>= "2.7.0"}
49+
"js_of_ocaml-osx" {>= "4"}
50+
"gen_js_api-osx" {>= "1.1.1" & < "2.0.0"}
51+
"js_of_ocaml-ppx" {>= "4"}
52+
"ppx_inline_test" {with-test}
53+
"ppx_expect" {with-test}
54+
"odoc" {with-doc}
55+
"ocamlformat" {with-test}
56+
]
57+
# Content of `opam-trailer` field:

opam/osx/node-js-stubs-osx.opam

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# This file was generated by `drom` from `drom.toml`.
2+
# Do not modify, or add to the `skip` field of `drom.toml`.
3+
opam-version: "2.0"
4+
name: "node-js-stubs"
5+
version: "0.1.0"
6+
license: "MIT"
7+
synopsis: "The superbol-vscode-platform project"
8+
description: """\
9+
This is the description
10+
of the superbol-vscode-platform OCaml project
11+
"""
12+
authors: [
13+
"Fabrice Le Fessant <[email protected]>"
14+
"Emilien Lemaire <[email protected]>"
15+
]
16+
maintainer: [
17+
"Fabrice Le Fessant <[email protected]>"
18+
"Emilien Lemaire <[email protected]>"
19+
]
20+
homepage: "https://ocamlpro.github.io/superbol-vscode-platform"
21+
doc: "https://ocamlpro.github.io/superbol-vscode-platform/sphinx"
22+
bug-reports: "https://github.com/ocamlpro/superbol-vscode-platform/issues"
23+
dev-repo: "git+https://github.com/ocamlpro/superbol-vscode-platform.git"
24+
tags: "org:ocamlpro"
25+
build: [
26+
["dune" "subst"] {dev}
27+
["sh" "-c" "./scripts/before.sh build '%{name}%'"]
28+
[
29+
"dune"
30+
"build"
31+
"-p"
32+
"node-js-stubs"
33+
"-x"
34+
"osx"
35+
"-j"
36+
jobs
37+
"@install"
38+
"@runtest" {with-test}
39+
"@doc" {with-doc}
40+
]
41+
["sh" "-c" "./scripts/after.sh build '%{name}%'"]
42+
]
43+
install: [
44+
["sh" "-c" "./scripts/before.sh install '%{name}%'"]
45+
]
46+
depends: [
47+
"ocaml" {>= "4.13.0"}
48+
"dune" {>= "2.7.0"}
49+
"promise_jsoo-osx" {>= "0.3.1" & < "1.0.0"}
50+
"jsonoo-osx" {>= "0.2.1" & < "1.0.0"}
51+
"js_of_ocaml-osx" {>= "4"}
52+
"interop-js-stubs-osx" {= version}
53+
"gen_js_api-osx" {>= "1.1.1" & < "2.0.0"}
54+
"js_of_ocaml-ppx" {>= "4"}
55+
"ppx_inline_test" {with-test}
56+
"ppx_expect" {with-test}
57+
"odoc" {with-doc}
58+
"ocamlformat" {with-test}
59+
]
60+
# Content of `opam-trailer` field:

opam/osx/polka-js-stubs-osx.opam

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# This file was generated by `drom` from `drom.toml`.
2+
# Do not modify, or add to the `skip` field of `drom.toml`.
3+
opam-version: "2.0"
4+
name: "polka-js-stubs"
5+
version: "0.1.0"
6+
license: "MIT"
7+
synopsis: "The superbol-vscode-platform project"
8+
description: """\
9+
This is the description
10+
of the superbol-vscode-platform OCaml project
11+
"""
12+
authors: [
13+
"Fabrice Le Fessant <[email protected]>"
14+
"Emilien Lemaire <[email protected]>"
15+
]
16+
maintainer: [
17+
"Fabrice Le Fessant <[email protected]>"
18+
"Emilien Lemaire <[email protected]>"
19+
]
20+
homepage: "https://ocamlpro.github.io/superbol-vscode-platform"
21+
doc: "https://ocamlpro.github.io/superbol-vscode-platform/sphinx"
22+
bug-reports: "https://github.com/ocamlpro/superbol-vscode-platform/issues"
23+
dev-repo: "git+https://github.com/ocamlpro/superbol-vscode-platform.git"
24+
tags: "org:ocamlpro"
25+
build: [
26+
["dune" "subst"] {dev}
27+
["sh" "-c" "./scripts/before.sh build '%{name}%'"]
28+
[
29+
"dune"
30+
"build"
31+
"-p"
32+
"polka-js-stubs"
33+
"-x"
34+
"osx"
35+
"-j"
36+
jobs
37+
"@install"
38+
"@runtest" {with-test}
39+
"@doc" {with-doc}
40+
]
41+
["sh" "-c" "./scripts/after.sh build '%{name}%'"]
42+
]
43+
install: [
44+
["sh" "-c" "./scripts/before.sh install '%{name}%'"]
45+
]
46+
depends: [
47+
"ocaml" {>= "4.13.0"}
48+
"dune" {>= "2.7.0"}
49+
"promise_jsoo-osx" {>= "0.3.1" & < "1.0.0"}
50+
"node-js-stubs-osx" {= version}
51+
"jsonoo-osx" {>= "0.2.1" & < "1.0.0"}
52+
"js_of_ocaml-osx" {>= "4"}
53+
"interop-js-stubs-osx" {= version}
54+
"gen_js_api-osx" {>= "1.1.1" & < "2.0.0"}
55+
"js_of_ocaml-ppx" {>= "4"}
56+
"ppx_inline_test" {with-test}
57+
"ppx_expect" {with-test}
58+
"odoc" {with-doc}
59+
"ocamlformat" {with-test}
60+
]
61+
# Content of `opam-trailer` field:
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# This file was generated by `drom` from `drom.toml`.
2+
# Do not modify, or add to the `skip` field of `drom.toml`.
3+
opam-version: "2.0"
4+
name: "superbol-vscode-platform"
5+
version: "0.1.0"
6+
license: "MIT"
7+
synopsis: "The superbol-vscode-platform project"
8+
description: """\
9+
This is the description
10+
of the superbol-vscode-platform OCaml project
11+
"""
12+
authors: [
13+
"Fabrice Le Fessant <[email protected]>"
14+
"Emilien Lemaire <[email protected]>"
15+
]
16+
maintainer: [
17+
"Fabrice Le Fessant <[email protected]>"
18+
"Emilien Lemaire <[email protected]>"
19+
]
20+
homepage: "https://ocamlpro.github.io/superbol-vscode-platform"
21+
doc: "https://ocamlpro.github.io/superbol-vscode-platform/sphinx"
22+
bug-reports: "https://github.com/ocamlpro/superbol-vscode-platform/issues"
23+
dev-repo: "git+https://github.com/ocamlpro/superbol-vscode-platform.git"
24+
tags: "org:ocamlpro"
25+
build: [
26+
["dune" "subst"] {dev}
27+
["sh" "-c" "./scripts/before.sh build '%{name}%'"]
28+
[
29+
"dune"
30+
"build"
31+
"-p"
32+
"superbol-vscode-platform"
33+
"-x"
34+
"osx"
35+
"-j"
36+
jobs
37+
"@install"
38+
"@runtest" {with-test}
39+
"@doc" {with-doc}
40+
]
41+
["sh" "-c" "./scripts/after.sh build '%{name}%'"]
42+
]
43+
install: [
44+
["sh" "-c" "./scripts/before.sh install '%{name}%'"]
45+
]
46+
depends: [
47+
"ocaml" {>= "4.13.0"}
48+
"dune" {>= "2.7.0"}
49+
"vscode-languageclient-js-stubs-osx" {= version}
50+
"vscode-js-stubs-osx" {= version}
51+
"promise_jsoo-osx" {>= "0.3.1" & < "1.0.0"}
52+
"polka-js-stubs-osx" {= version}
53+
"ocplib_stuff-osx" {>= "0.4.0" & < "1.0.0"}
54+
"node-js-stubs-osx" {= version}
55+
"jsonoo-osx" {>= "0.2.1" & < "1.0.0"}
56+
"js_of_ocaml-osx" {>= "4"}
57+
"gen_js_api-osx" {>= "1.1.1" & < "2.0.0"}
58+
"js_of_ocaml-ppx" {>= "4"}
59+
"ppx_inline_test" {with-test}
60+
"ppx_expect" {with-test}
61+
"odoc" {with-doc}
62+
"ocamlformat" {with-test}
63+
]
64+
# Content of `opam-trailer` field:
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# This file was generated by `drom` from `drom.toml`.
2+
# Do not modify, or add to the `skip` field of `drom.toml`.
3+
opam-version: "2.0"
4+
name: "vscode-debugadapter"
5+
version: "0.1.0"
6+
license: "MIT"
7+
synopsis: "The superbol-vscode-platform project"
8+
description: """\
9+
This is the description
10+
of the superbol-vscode-platform OCaml project
11+
"""
12+
authors: [
13+
"Fabrice Le Fessant <[email protected]>"
14+
"Emilien Lemaire <[email protected]>"
15+
]
16+
maintainer: [
17+
"Fabrice Le Fessant <[email protected]>"
18+
"Emilien Lemaire <[email protected]>"
19+
]
20+
homepage: "https://ocamlpro.github.io/superbol-vscode-platform"
21+
doc: "https://ocamlpro.github.io/superbol-vscode-platform/sphinx"
22+
bug-reports: "https://github.com/ocamlpro/superbol-vscode-platform/issues"
23+
dev-repo: "git+https://github.com/ocamlpro/superbol-vscode-platform.git"
24+
tags: "org:ocamlpro"
25+
build: [
26+
["dune" "subst"] {dev}
27+
["sh" "-c" "./scripts/before.sh build '%{name}%'"]
28+
[
29+
"dune"
30+
"build"
31+
"-p"
32+
"vscode-debugadapter"
33+
"-x"
34+
"osx"
35+
"-j"
36+
jobs
37+
"@install"
38+
"@runtest" {with-test}
39+
"@doc" {with-doc}
40+
]
41+
["sh" "-c" "./scripts/after.sh build '%{name}%'"]
42+
]
43+
install: [
44+
["sh" "-c" "./scripts/before.sh install '%{name}%'"]
45+
]
46+
depends: [
47+
"ocaml" {>= "4.13.0"}
48+
"dune" {>= "2.7.0"}
49+
"vscode-debugprotocol-osx" {= version}
50+
"promise_jsoo-osx" {>= "0.3.1" & < "1.0.0"}
51+
"node-js-stubs-osx" {= version}
52+
"jsonoo-osx" {>= "0.2.1" & < "1.0.0"}
53+
"js_of_ocaml-osx" {>= "4"}
54+
"interop-js-stubs-osx" {= version}
55+
"gen_js_api-osx" {>= "1.1.1" & < "2.0.0"}
56+
"js_of_ocaml-ppx" {>= "3.0"}
57+
"ppx_inline_test" {with-test}
58+
"ppx_expect" {with-test}
59+
"odoc" {with-doc}
60+
"ocamlformat" {with-test}
61+
]
62+
# Content of `opam-trailer` field:
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# This file was generated by `drom` from `drom.toml`.
2+
# Do not modify, or add to the `skip` field of `drom.toml`.
3+
opam-version: "2.0"
4+
name: "vscode-debugprotocol"
5+
version: "0.1.0"
6+
license: "MIT"
7+
synopsis: "The superbol-vscode-platform project"
8+
description: """\
9+
This is the description
10+
of the superbol-vscode-platform OCaml project
11+
"""
12+
authors: [
13+
"Fabrice Le Fessant <[email protected]>"
14+
"Emilien Lemaire <[email protected]>"
15+
]
16+
maintainer: [
17+
"Fabrice Le Fessant <[email protected]>"
18+
"Emilien Lemaire <[email protected]>"
19+
]
20+
homepage: "https://ocamlpro.github.io/superbol-vscode-platform"
21+
doc: "https://ocamlpro.github.io/superbol-vscode-platform/sphinx"
22+
bug-reports: "https://github.com/ocamlpro/superbol-vscode-platform/issues"
23+
dev-repo: "git+https://github.com/ocamlpro/superbol-vscode-platform.git"
24+
tags: "org:ocamlpro"
25+
build: [
26+
["dune" "subst"] {dev}
27+
["sh" "-c" "./scripts/before.sh build '%{name}%'"]
28+
[
29+
"dune"
30+
"build"
31+
"-p"
32+
"vscode-debugprotocol"
33+
"-x"
34+
"osx"
35+
"-j"
36+
jobs
37+
"@install"
38+
"@runtest" {with-test}
39+
"@doc" {with-doc}
40+
]
41+
["sh" "-c" "./scripts/after.sh build '%{name}%'"]
42+
]
43+
install: [
44+
["sh" "-c" "./scripts/before.sh install '%{name}%'"]
45+
]
46+
depends: [
47+
"ocaml" {>= "4.13.0"}
48+
"dune" {>= "2.7.0"}
49+
"promise_jsoo-osx" {>= "0.3.1" & < "1.0.0"}
50+
"jsonoo-osx" {>= "0.2.1" & < "1.0.0"}
51+
"js_of_ocaml-osx" {>= "4"}
52+
"interop-js-stubs-osx" {= version}
53+
"gen_js_api-osx" {>= "1.1.1" & < "2.0.0"}
54+
"js_of_ocaml-ppx" {>= "3.0"}
55+
"ppx_inline_test" {with-test}
56+
"ppx_expect" {with-test}
57+
"odoc" {with-doc}
58+
"ocamlformat" {with-test}
59+
]
60+
# Content of `opam-trailer` field:

0 commit comments

Comments
 (0)