RPC: split package tezos-node_services
This commit is contained in:
parent
0871911920
commit
60503aa6fa
@ -4,10 +4,10 @@
|
||||
((name main)
|
||||
(public_name tezos-node)
|
||||
(libraries (tezos-base
|
||||
tezos-rpc-http
|
||||
tezos-node-updater
|
||||
tezos-node-p2p-base
|
||||
tezos-node-p2p
|
||||
tezos-node-http
|
||||
tezos-node-shell
|
||||
tezos-embedded-protocol-genesis
|
||||
tezos-embedded-protocol-demo
|
||||
@ -17,10 +17,10 @@
|
||||
(flags (:standard -w -9+27-30-32-40@8
|
||||
-safe-string
|
||||
-open Tezos_base__TzPervasives
|
||||
-open Tezos_rpc_http
|
||||
-open Tezos_node_updater
|
||||
-open Tezos_node_p2p_base
|
||||
-open Tezos_node_p2p
|
||||
-open Tezos_node_http
|
||||
-open Tezos_node_shell
|
||||
-linkall))))
|
||||
|
||||
|
@ -7,12 +7,14 @@
|
||||
-open Tezos_stdlib_lwt
|
||||
-open Tezos_crypto
|
||||
-open Tezos_data_encoding
|
||||
-open Tezos_error_monad))
|
||||
-open Tezos_error_monad
|
||||
-open Tezos_rpc_base))
|
||||
(libraries (tezos-stdlib
|
||||
tezos-stdlib-lwt
|
||||
tezos-crypto
|
||||
tezos-data-encoding
|
||||
tezos-error-monad
|
||||
tezos-rpc-base
|
||||
calendar
|
||||
ezjsonm
|
||||
mtime.clock.os))))
|
||||
|
@ -12,6 +12,7 @@ include Tezos_stdlib_lwt
|
||||
include Tezos_crypto
|
||||
include Tezos_data_encoding
|
||||
include Tezos_error_monad
|
||||
include Tezos_rpc_base
|
||||
|
||||
module List = struct
|
||||
include List
|
||||
|
@ -12,6 +12,7 @@ include (module type of (struct include Tezos_data_encoding end))
|
||||
include (module type of (struct include Tezos_stdlib_lwt end))
|
||||
include (module type of (struct include Tezos_crypto end))
|
||||
include (module type of (struct include Tezos_error_monad end))
|
||||
include (module type of (struct include Tezos_rpc_base end))
|
||||
|
||||
module List : sig
|
||||
include (module type of (struct include List end))
|
||||
|
@ -5,18 +5,18 @@
|
||||
(public_name tezos-client-base)
|
||||
(libraries (tezos-base
|
||||
tezos-storage
|
||||
tezos-rpc-http
|
||||
tezos-node-p2p-base
|
||||
tezos-node-services
|
||||
tezos-node-http
|
||||
tezos-node-updater
|
||||
tezos-protocol-compiler))
|
||||
(flags (:standard -w -9+27-30-32-40@8
|
||||
-safe-string
|
||||
-open Tezos_base__TzPervasives
|
||||
-open Tezos_storage
|
||||
-open Tezos_rpc_http
|
||||
-open Tezos_node_p2p_base
|
||||
-open Tezos_node_services
|
||||
-open Tezos_node_http
|
||||
-open Tezos_node_updater))))
|
||||
|
||||
(alias
|
||||
|
@ -11,9 +11,9 @@ depends: [
|
||||
"jbuilder" { build & >= "1.0+beta15" }
|
||||
"tezos-base"
|
||||
"tezos-storage"
|
||||
"tezos-rpc-http"
|
||||
"tezos-node-p2p-base"
|
||||
"tezos-node-services"
|
||||
"tezos-node-http"
|
||||
"tezos-node-updater"
|
||||
"tezos-protocol-compiler"
|
||||
"tezos-embedded-protocol-genesis"
|
||||
|
@ -4,8 +4,7 @@
|
||||
((name tezos_node_services)
|
||||
(public_name tezos-node-services)
|
||||
(libraries (tezos-base
|
||||
tezos-node-p2p-base
|
||||
ocplib-resto))
|
||||
tezos-node-p2p-base))
|
||||
(flags (:standard -w -9+27-30-32-40@8
|
||||
-safe-string
|
||||
-open Tezos_base__TzPervasives
|
||||
|
@ -5,6 +5,7 @@
|
||||
(public_name tezos-node-shell)
|
||||
(libraries (tezos-base
|
||||
tezos-storage
|
||||
tezos-rpc-http
|
||||
tezos-node-services
|
||||
tezos-node-p2p-base
|
||||
tezos-node-p2p
|
||||
@ -13,8 +14,8 @@
|
||||
-safe-string
|
||||
-open Tezos_base__TzPervasives
|
||||
-open Tezos_storage
|
||||
-open Tezos_rpc_http
|
||||
-open Tezos_node_services
|
||||
-open Tezos_node_http
|
||||
-open Tezos_node_p2p_base
|
||||
-open Tezos_node_p2p
|
||||
-open Tezos_node_updater))))
|
||||
|
@ -7,9 +7,9 @@
|
||||
tezos-micheline
|
||||
tezos-protocol-compiler
|
||||
tezos-storage
|
||||
tezos-rpc-http
|
||||
tezos-node-services
|
||||
tezos-node-p2p-base
|
||||
tezos-node-http
|
||||
dynlink))
|
||||
(flags (:standard -w -9+27-30-32-40@8
|
||||
-safe-string
|
||||
@ -17,8 +17,8 @@
|
||||
-open Tezos_micheline
|
||||
-open Tezos_protocol_compiler
|
||||
-open Tezos_storage
|
||||
-open Tezos_rpc_http
|
||||
-open Tezos_node_services
|
||||
-open Tezos_node_http
|
||||
-open Tezos_node_p2p_base))))
|
||||
|
||||
(alias
|
||||
|
@ -13,9 +13,9 @@ depends: [
|
||||
"tezos-micheline"
|
||||
"tezos-protocol-compiler"
|
||||
"tezos-storage"
|
||||
"tezos-rpc-http"
|
||||
"tezos-node-services"
|
||||
"tezos-node-p2p-base"
|
||||
"tezos-node-http"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
|
15
lib_rpc-base/jbuild
Normal file
15
lib_rpc-base/jbuild
Normal file
@ -0,0 +1,15 @@
|
||||
(jbuild_version 1)
|
||||
|
||||
(library
|
||||
((name tezos_rpc_base)
|
||||
(public_name tezos-rpc-base)
|
||||
(libraries (tezos-data-encoding
|
||||
ocplib-resto))
|
||||
(flags (:standard -w -9+27-30-32-40@8
|
||||
-safe-string
|
||||
-open Tezos_data_encoding))))
|
||||
|
||||
(alias
|
||||
((name runtest_indent)
|
||||
(deps ((glob_files *.ml) (glob_files *.mli)))
|
||||
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${<}))))
|
20
lib_rpc-base/tezos-rpc-base.opam
Normal file
20
lib_rpc-base/tezos-rpc-base.opam
Normal file
@ -0,0 +1,20 @@
|
||||
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-data-encoding"
|
||||
"ocplib-resto"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
@ -1,8 +1,8 @@
|
||||
(jbuild_version 1)
|
||||
|
||||
(library
|
||||
((name tezos_node_http)
|
||||
(public_name tezos-node-http)
|
||||
((name tezos_rpc_http)
|
||||
(public_name tezos-rpc-http)
|
||||
(libraries (tezos-base
|
||||
tezos-node-services
|
||||
ocplib-resto-directory
|
||||
@ -10,6 +10,7 @@
|
||||
(flags (:standard -w -9+27-30-32-40@8
|
||||
-safe-string
|
||||
-open Tezos_base__TzPervasives
|
||||
-open Tezos_rpc_base
|
||||
-open Tezos_node_services))))
|
||||
|
||||
(alias
|
Loading…
Reference in New Issue
Block a user