-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdkml-runtime-common.opam
executable file
·30 lines (28 loc) · 1.18 KB
/
dkml-runtime-common.opam
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
opam-version: "2.0"
version: "2.1.3"
synopsis: "Common runtime code used in DkML"
description: "Common runtime code used in DKML.
The runtime code will be available in the 'lib/dkml-runtime-common' folder
of your Opam switch or findlib installation."
maintainer: ["opensource+dkml@support.diskuv.com"]
authors: ["Diskuv, Inc. <opensource+dkml@support.diskuv.com>"]
license: "Apache-2.0"
homepage: "https://github.com/diskuv/dkml-runtime-common"
bug-reports: "https://github.com/diskuv/dkml-runtime-common/issues"
dev-repo: "git+https://github.com/diskuv/dkml-runtime-common.git"
# Must not rely on OCaml (ex. diskuvbox or dune) because this
# package is a dependency of OCaml compilers like dkml-base-compiler!
depends: []
build: [
["sh" "tests/crossplatform-tests.sh"] { with-test & !(os = "win32") }
]
install: [
# TODO: opam does not pass to Command Prompt correctly when there is a
# space in the _:lib so we have to avoid the (correct) Command Prompt
# shell. https://github.com/ocaml/opam/issues/5673
#
# TODO 2: install.cmd has no dos2unix ability like install.sh
#
#[".\\install.cmd" "\"%{_:lib}%\""] { os = "win32"}
["sh" "./install.sh" "%{_:lib}%"] # {!(os = "win32")}
]