Ocplib_json_typed: adapt code for inclusion in vendors

This commit is contained in:
Vincent Bernardoff 2018-04-23 15:31:20 +02:00 committed by Benjamin Canou
parent 68f5c92c1e
commit 96d9f317c1
4 changed files with 38 additions and 24 deletions

View File

@ -249,41 +249,41 @@ test:proto:sandbox:
- gitlab-org
##BEGIN_OPAM##
opam:00:tezos-stdlib:
opam:00:ocplib-json-typed:
<<: *opam_definition
variables:
package: ocplib-json-typed
opam:01:tezos-stdlib:
<<: *opam_definition
variables:
package: tezos-stdlib
opam:01:tezos-data-encoding:
opam:02:tezos-data-encoding:
<<: *opam_definition
variables:
package: tezos-data-encoding
opam:02:ocplib-resto:
opam:03:ocplib-resto:
<<: *opam_definition
variables:
package: ocplib-resto
opam:03:tezos-error-monad:
opam:04:tezos-error-monad:
<<: *opam_definition
variables:
package: tezos-error-monad
opam:04:ocplib-resto-directory:
opam:05:ocplib-resto-directory:
<<: *opam_definition
variables:
package: ocplib-resto-directory
opam:05:blake2:
opam:06:blake2:
<<: *opam_definition
variables:
package: blake2
opam:06:secp256k1:
<<: *opam_definition
variables:
package: secp256k1
opam:07:tezos-clic:
<<: *opam_definition
variables:
@ -444,51 +444,66 @@ opam:38:ocplib-ezresto:
variables:
package: ocplib-ezresto
opam:39:tezos-embedded-protocol-alpha:
opam:39:secp256k1:
<<: *opam_definition
variables:
package: secp256k1
opam:40:tezos-embedded-protocol-alpha:
<<: *opam_definition
variables:
package: tezos-embedded-protocol-alpha
opam:40:tezos-embedded-protocol-demo:
opam:41:tezos-embedded-protocol-demo:
<<: *opam_definition
variables:
package: tezos-embedded-protocol-demo
opam:41:tezos-embedded-protocol-genesis:
opam:42:tezos-embedded-protocol-genesis:
<<: *opam_definition
variables:
package: tezos-embedded-protocol-genesis
opam:42:tezos-shell:
opam:43:tezos-shell:
<<: *opam_definition
variables:
package: tezos-shell
opam:43:tezos-client:
opam:44:tezos-client:
<<: *opam_definition
variables:
package: tezos-client
opam:44:ocplib-ezresto-directory:
opam:45:ocplib-json-typed-bson:
<<: *opam_definition
variables:
package: ocplib-json-typed-bson
opam:46:ocplib-ezresto-directory:
<<: *opam_definition
variables:
package: ocplib-ezresto-directory
opam:45:tezos-baker-alpha:
opam:47:tezos-baker-alpha:
<<: *opam_definition
variables:
package: tezos-baker-alpha
opam:46:tezos-protocol-demo:
opam:48:tezos-protocol-demo:
<<: *opam_definition
variables:
package: tezos-protocol-demo
opam:47:tezos-node:
opam:49:tezos-node:
<<: *opam_definition
variables:
package: tezos-node
opam:50:ocplib-json-typed-browser:
<<: *opam_definition
variables:
package: ocplib-json-typed-browser
##END_OPAM##

View File

@ -5,7 +5,7 @@
(public_name tezos-data-encoding)
(libraries (tezos-stdlib
ocplib-json-typed
ocplib-json-typed.bson
ocplib-json-typed-bson
ezjsonm))
(flags (:standard -w -9+27-30-32-40@8
-safe-string

View File

@ -3,6 +3,6 @@
(library
((name resto_json)
(public_name ocplib-resto-json)
(libraries (ocplib-json-typed ocplib-json-typed.bson ocplib-resto))
(libraries (ocplib-json-typed ocplib-json-typed-bson ocplib-resto))
(flags (:standard -safe-string))
(wrapped false)))

View File

@ -18,6 +18,5 @@ depends: [
"ocamlfind" {build}
"jbuilder" {build}
"ocplib-resto" {= "dev" }
"ocplib-json-typed" { >= "0.4" }
"ocplib-endian" ## for `ocplib-json-typed.bson` to be built
"ocplib-json-typed-bson" { >= "0.6" }
]