Jbuilder: move protocol_environment_sigs in its own OPAM package

This commit is contained in:
Grégoire Henry 2017-11-27 06:13:12 +01:00 committed by Benjamin Canou
parent 92d166175f
commit e24b1dda75
38 changed files with 25 additions and 8 deletions

View File

@ -50,6 +50,6 @@
(library
((name tezos_protocol_environment_sigs)
(public_name tezos.protocol_environment.sigs)
(flags (:standard -safe-string -w -9-32 -nopervasives))
(public_name tezos-protocol-environment-sigs)
(flags (:standard -nopervasives))
(modules ("V1"))))

View File

@ -2,9 +2,7 @@
(executable
((name sigs_packer)
(public_name tezos-protocol-environment-sigs-packer)
(package tezos)
(flags (:standard -w -9-32 -safe-string))))
(public_name tezos-protocol-environment-sigs.packer)))
(alias
((name runtest_indent)

View File

@ -0,0 +1,19 @@
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 }
"jbuilder" { build & >= "1.0+beta15" }
"tezos-stdlib" { test }
]
build: [
[ "jbuilder" "build" "-p" name "-j" jobs ]
]
build-test: [
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
]

View File

@ -6,14 +6,14 @@
(run ${bin:ocp-ocamlres} -format ocaml -o ${@}
${lib:stdlib:camlinternalFormatBasics.cmi}
${path:tezos_protocol_compiler__Registerer.cmi}
${path:../environment/tezos_protocol_environment_sigs.cmi}
${path:../environment/tezos_protocol_environment_sigs__V1.cmi}))))
${lib:tezos-protocol-environment-sigs:tezos_protocol_environment_sigs.cmi}
${lib:tezos-protocol-environment-sigs:tezos_protocol_environment_sigs__V1.cmi}))))
(library
((name tezos_protocol_compiler)
(public_name tezos.protocol_compiler)
(libraries (tezos-base
tezos_protocol_environment_sigs
tezos-protocol-environment-sigs
compiler-libs
compiler-libs.optcomp
lwt.unix