2017-11-27 09:13:12 +04:00
|
|
|
opam-version: "1.2"
|
|
|
|
version: "dev"
|
|
|
|
maintainer: "contact@tezos.com"
|
|
|
|
authors: [ "Tezos devteam" ]
|
|
|
|
homepage: "https://www.tezos.com/"
|
|
|
|
bug-reports: "https://gitlab.com/tezos/tezos/issues"
|
|
|
|
dev-repo: "https://gitlab.com/tezos/tezos.git"
|
|
|
|
license: "unreleased"
|
|
|
|
depends: [
|
|
|
|
"ocamlfind" { build }
|
2018-07-23 17:40:55 +04:00
|
|
|
"dune" { build & = "1.0.1" }
|
2018-02-05 22:23:18 +04:00
|
|
|
"tezos-base"
|
2017-12-06 22:51:49 +04:00
|
|
|
"tezos-protocol-compiler"
|
2018-02-12 01:36:49 +04:00
|
|
|
"alcotest-lwt" { test }
|
2018-06-05 16:17:24 +04:00
|
|
|
"tezos-stdlib-unix" { test }
|
2018-02-17 17:39:45 +04:00
|
|
|
"tezos-protocol-environment" { test }
|
2018-06-13 02:10:18 +04:00
|
|
|
"tezos-shell-services" { test }
|
2018-06-05 16:17:24 +04:00
|
|
|
"bip39" { test }
|
2017-11-27 09:13:12 +04:00
|
|
|
]
|
|
|
|
build: [
|
2017-12-06 22:51:49 +04:00
|
|
|
[ "rm" "jbuild" "src/jbuild" ]
|
|
|
|
[ "cp" "%{tezos-protocol-compiler:share}%/jbuild_protocol_template" "jbuild" ]
|
|
|
|
[ "sed" "-i" "s/let predefined_version = None/let predefined_version = Some \"alpha\"/" "jbuild" ]
|
2018-07-23 17:40:55 +04:00
|
|
|
[ "dune" "build" "-p" name "-j" jobs ]
|
2017-11-27 09:13:12 +04:00
|
|
|
]
|
|
|
|
build-test: [
|
2018-07-23 17:40:55 +04:00
|
|
|
[ "dune" "runtest" "-p" name "-j" jobs ]
|
2017-11-27 09:13:12 +04:00
|
|
|
]
|